🐧Privilege escalation: Linux
Linux:
find / -perm -u=s -type f 2>/dev/null
find / -perm -g=s -type f 2>/dev/null
find / -perm -1000 -type d 2>/dev/null
python2.7 -c "import pty;pty.spawn('/bin/sh');"
Last updated
find / -perm -u=s -type f 2>/dev/nullfind / -perm -g=s -type f 2>/dev/nullfind / -perm -1000 -type d 2>/dev/nullpython2.7 -c "import pty;pty.spawn('/bin/sh');"Last updated