Skip to content

Post Exploitation General Notes

TheGetch edited this page May 14, 2021 · 2 revisions

Post Exploitation General Notes

General Notes

Spawn a tty:

  1. rlwrap nc localhost 80

  2. rlwrap -r -f . nc

  • socat file:tty,raw,echo=0 tcp-listen:12345
  • /bin/sh -i
  • python -c 'import pty; pty.spawn("/bin/sh")'
  • perl -e 'exec "/bin/sh";'
  • perl: exec "/bin/sh";
  • ruby: exec "/bin/sh"
  • lua: os.execute('/bin/sh')

Priviledge Escalation Scripts:

Windows:

Linux:

Other Resources:

PowerSharpPack:

Windows:

Linux:

_Sidebar

1. Recon

Ping Sweep

CIDR to IP

2. Enumeration

Services

05. HTTP (80,443,8080,8443,etc.)

3. Exploitation

4. Post Exploiation

5. High Value Information

Hashes

6. Reporting

7. Random Notes/Useful Tidbits

Clone this wiki locally