John to root
I searched for sudo permission that the user John has and found that It has permission to run the find command as a sudo user.

I will use the below payload and switch to the root user.

Last updated
Was this helpful?
I searched for sudo permission that the user John has and found that It has permission to run the find command as a sudo user.

I will use the below payload and switch to the root user.

Last updated
Was this helpful?
Was this helpful?
sudo find . -exec /bin/sh \; -quit