~/tools $ ./chmod --explain
Chmod Calculator
Flip permission bits or type an octal mode to see the symbolic form, including setuid, setgid, and sticky.
Runs entirely in your browser. Nothing you paste is sent anywhere.
Symbolic
Command
Permissions in privilege escalation
On a Linux box, two searches find a large share of local privilege escalation paths. SUID binaries:find / -perm -4000 -type f 2>/dev/null, checked against GTFOBins. World-writable files and directories: find / -writable -type f 2>/dev/null, especially anything run by root or by cron.
Common modes
644regular files,755directories and executables.600private keys. SSH refuses keys that other users can read.1777shared temp directories such as/tmp.