EN
ENNA

Penelope

GPL-3.0

๐Ÿ”ฅ Offensive Ops ยท Python

Penelope is an advanced shell handler designed to replace netcat as the go-to reverse shell listener during penetration tests. Written in Python with zero external dependencies, it automatically upgrades received shells to fully interactive PTYs with tab completion, history, and job control - eliminating the manual 'python -c import pty' dance. Penelope handles multiple simultaneous shell sessions with a clean interface for switching between them, provides built-in file upload and download without needing to set up separate transfer servers, automatically logs all session activity for reporting, and can generate reverse shell payloads for various platforms and languages. It supports encrypted shells, can spawn listeners on multiple ports, and includes a command history searchable across sessions.

1.6kstars
182forks
3issues
Updated 7d ago

Installation

pip

$ pip install penelope-shell

from source

$ git clone https://github.com/brightio/penelope.git && cd penelope && python penelope.py

Use Cases

  • Handling reverse shells with automatic PTY upgrade and interactive features
  • Managing multiple simultaneous shell sessions during penetration tests
  • Transferring files to and from compromised hosts without additional tools
  • Generating reverse shell one-liners for various languages and platforms
  • Logging all shell session activity automatically for engagement reporting

Tags

reverse-shellhandlerptymulti-sessionfile-transferred-teamctfctf-toolshacktheboxoscposcp-toolsrceshell-handlertryhackmetty

More in Offensive Ops