Last active
March 3, 2017 06:04
-
-
Save intrd/ef4eaa89adfa41937853756341c5e8b9 to your computer and use it in GitHub Desktop.
Metasploit - Script to extract machine hw info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Metasploit script to extract machine hw info | |
# @author intrd - http://dann.com.br/ | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
@client = client | |
meter_type = client.platform | |
host = @client.sys.config.sysinfo["Computer"] | |
os = @client.sys.config.sysinfo["OS"] | |
#p host | |
system("php /home/intrd/scripts/log.php \"#{host} @ #{os}\"") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment