
Reverse Shell Techniques
This is a comprehensive playbook for getting and maintaining remote shell access during penetration tests. It covers the fundamentals like when to use reverse versus bind shells, then gets into practical stuff like encrypted shells with OpenSSL and socat, web shell patterns for PHP/ASPX/JSP, and proper PTY upgrade sequences so you don't lose your shell. The file transfer section alone is worth it, covering everything from wget to PowerShell download cradles to certutil. Also includes msfvenom payload generation and a decision tree to figure out which technique fits your situation. It's dense with copy-paste ready commands and assumes you already know why you need a shell, just not which method will work best given your constraints.
- skills.sh installs
- 3.6K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill reverse-shell-techniques --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Reverse Shell Techniques — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert reverse shell techniques. Covers reverse/bind shell decisions, encrypted shells (OpenSSL, socat SSL, ncat), web shell patterns (PHP/ASPX/JSP), PTY upgrade sequences, file transfer methods, PowerShell download cradles, and msfvenom payload generation. Base models miss encrypted shell syntax, proper PTY stabilization, and platform-specific transfer techniques.
0. RELATED ROUTING
Before going deep, consider loading:
- tunneling-and-pivoting after shell access for network pivoting
- linux-privilege-escalation or windows-privilege-escalation after landing shell
- windows-av-evasion when AV blocks shell payloads
Quick Reference
Also load SHELL_CHEATSHEET.md when you need:
- Complete one-liner reverse shells for 20+ languages
- Copy-paste ready payloads with placeholder substitution
1. REVERSE vs BIND SHELL DECISION
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Backend & APIs, CLI & Terminal
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Ghost Bits Cast Attack3.5K
- Hack4.6K
- Android Pentesting Tricks4.3K
- Recon And Methodology4.3K
- Sqli Sql Injection4.2K
- Code Obfuscation Deobfuscation4.2K
- Xss Cross Site Scripting4.2K
- Api Sec4.1K
- Business Logic Vulnerabilities4.1K
- Ssrf Server Side Request Forgery4.1K
- Idor Broken Object Authorization4K
- Authbypass Authentication Flaws4K
- Jwt Oauth Token Attacks4K
- Api Recon And Docs4K
- 401 403 Bypass Techniques4K
- Api Auth And Jwt Abuse4K
- Waf Bypass Techniques4K
- Vm And Bytecode Reverse4K
- Websocket Security4K
- Api Authorization And Bola3.9K
- Auth Sec3.9K
- Kubernetes Pentesting3.9K
- Cors Cross Origin Misconfiguration3.9K
- Ios Pentesting Tricks3.9K