🫡Tips
Some tips, very useful in real life.
Ping sweep to discover hosts on the network fastly (/24)
for i in {1..255};do (ping -c 1 172.16.2.$i | grep "bytes from"|cut -d ' ' -f4|tr -d ':' &);donePing sweep to discover hosts on the network fastly (/16)
for j in {1..255};do for i in {1..255};do (ping -c 1 172.16.$j.$i | grep "bytes from"|cut -d ' ' -f4|tr -d ':' &);done;doneGet a proper shell on reverse shell
python3 -c 'import pty; pty.spawn("/bin/bash")'Persistance
ssh-keygen -t rsaecho XXXX >> ~/.ssh/authorized_keysLogs all your commands
mkdir ~/.logLast updated