yaklang avatar

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-code

Installs 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:

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
1medusajs avatardb-generatemedusajs/medusa-agent-skillsGenerate database migrations for a Medusa module3.6Kskills.sh installs
2agricidaniel avatarads-attributionagricidaniel/claude-adsAudit cross-platform attribution, conversion definitions, reporting windows, GA4, AdServices and AdAttributionKit, MMPs, browser and server events, offline conv3.6Kskills.sh installs
3tradermonty avataruptrend-analyzertradermonty/claude-trading-skillsAnalyzes market breadth using Monty's Uptrend Ratio Dashboard data to diagnose the current market environment. Generates a 0-100 composite score from 5 componen3.6Kskills.sh installs
4netlify avatarnetlify-confignetlify/context-and-toolsReference for netlify.toml configuration and site environment variables. Use when configuring build settings, redirects, rewrites, headers, deploy contexts, the3.6Kskills.sh installs
5forcedotcom avatarimplementing-ui-bundle-file-uploadforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding f3.5Kskills.sh installs
6openai avatarhatch-petopenai/skillsCreate, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect3.5Kskills.sh installs