Bind shells and reverse shells
When to use what and commands for both directions on Windows and Linux.
- #shells
- #netcat
- #reverse-shell
- +2
Cybersecurity · Exploitation
Post exploitation steps like session persistence, credential dumps and pivoting.
9 snippets
When to use what and commands for both directions on Windows and Linux.
Dump /etc/shadow hashes from a root session and crack them with John or Hashcat.
Metasploit post modules for Linux enumeration, plus persistence via new user, cron, service, and SSH key.
Use Metasploit autoroute and proxychains to scan and exploit targets only reachable through a pivot machine.
Three ways to promote a plain command shell to a full Meterpreter session — one-liner, MSF module, and manual msfvenom payload.
Store and execute malicious code inside hidden NTFS file streams to evade signature-based AV scanners.
Extract NTLM hashes from LSASS/SAM with Kiwi or Mimikatz and use them to authenticate without cracking.
Keep access across reboots and credential changes through service installers, registry startup, RDP backdoors, SSH key generation, and sticky keys.
System info, process migration, privilege check, installed apps, AV detection, etc. The standard post-exploitation workflow after landing a Windows meterpreter session.
Nothing matches these filters.