Sudo Trickery
Enumerating Sudo Permissions
Checking Sudo-Related Permissions
Find all SUID Binaries
Sneaking Commands at the end of a command
Sometimes we can slide in a shell command at the end of a command
Running as other user
If there is NOPASSWD sudo permissions we can access with:
We can run as steven with the following:
GTFOBins
Check GTFOBins - a list of binaries that can be exploited to bypass local restrictions.
Last updated