Linux Prevesc
python -c 'import pty;pty.spawn("/bin/bash")'
python3 -c 'import pty;pty.spawn("/bin/bash")'
echo os.system('/bin/bash')
/bin/sh -ictrl+z
echo $TERM && tput lines && tput cols
stty raw -echo
fg
reset
export SHELL=bash
export TERM=xterm-256color (screen when running tmux)
stty rows <num> columns <cols>socat file:`tty`,raw,echo=0 tcp-listen:12345Initial Recon
SUID Files, Root Services, and Other Files
Cron
Keys and Database Passwords
References
Last updated