reverse-shell-techniques

Guide reverse and bind shell selection with encrypted and web shell techniques.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-skill --skill reverse-shell-techniques
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-shell-techniques
Source: https://github.com/Prohao42/aimy-skill/tree/main/ai-mian/hack-skills/skills/reverse-shell-techniques
Command: npx skills add https://github.com/Prohao42/aimy-skill --skill reverse-shell-techniques

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openssl, socat, ncat, msfvenom, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive reverse shell techniques to facilitate remote shell establishment and manipulation, addressing security and penetration testing challenges.

Core Features & Use Cases

  • Reverse vs Bind Shell Decision: Analyzes and provides guidance on choosing between reverse and bind shells based on network configurations and egress/ingress filtering.
  • Encrypted Shells: Offers instructions for setting up encrypted shells using OpenSSL, Socat, and Ncat, ensuring stealth and security during remote sessions.
  • Web Shells: Delivers patterns for PHP, ASPX, and JSP web shells, allowing for remote shell access via web servers.
  • PTY Upgrade: Provides PTY upgrade sequences for shells to enhance user experience and input/output capabilities.
  • File Transfer Methods: Offers various file transfer techniques, including HTTP server, nc, base64 encoding, and SCP, for transferring tools and payloads.
  • PowerShell Reverse Shells: Demonstrates creating PowerShell reverse shells and using them to establish a remote connection.
  • MSFVenom Payloads: Shows how to generate payloads for various platforms using MSFVenom.

Quick Start

To use the reverse-shell-techniques skill, execute the following command: 'reverse-shell-techniques run --method reverse_shell'

Frequently Asked Questions about reverse-shell-techniques

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between a reverse shell and a bind shell for network penetration testing?

Choosing between a reverse shell and a bind shell depends on network filtering. A reverse shell bypasses ingress firewall rules by calling out, while a bind shell requires open inbound ports. This decision requires analyzing egress and ingress configurations.

What is the best way to set up an encrypted reverse shell?

Setting up an encrypted reverse shell is best achieved using OpenSSL, Socat, or Ncat. These tools ensure stealth and secure remote sessions during penetration testing by encrypting the communication channel.

How do I generate payloads for different platforms using MSFVenom?

Generating payloads using MSFVenom involves specifying the target platform and format. This Skill provides expert guidance on MSFVenom payload generation for various platforms to establish remote shell connections.

Can I upgrade a raw remote shell to a fully interactive PTY?

Yes, you can upgrade a raw remote shell to a fully interactive PTY. This Skill provides specific PTY upgrade sequences to enhance user experience and input/output capabilities during remote sessions.

How do I transfer files to a remote shell after establishing a connection?

Transferring files to a remote shell can be done using several methods. This Skill offers techniques including HTTP server setup, nc, base64 encoding, and SCP to transfer tools and payloads.

Do I need specific command-line tools to execute PowerShell reverse shells?

Executing PowerShell reverse shells requires familiarity with command-line tools and networking. This Skill demonstrates creating PowerShell reverse shells to establish remote connections on compatible systems.