SUID/GUID files

Abusing suid/guid files

Find those files.

find / -perm -u=s -type f 2>/dev/null

Where:
find        : Initiates the "find" command
/           : Search the whole file system
-perm       : Search for files with specific permissions
-u=s        : Any of the permission bits mode are set for the file.
-type f     : Only search for files
2>/dev/null : Suppresses errors

Last updated