CHEAT SHEETS // CS-11
PENELOPE SHELL HANDLER
A practical quick reference for Penelope, an interactive shell handler that helps manage authorized lab sessions, listeners, transfers, and port forwarding. Commands may vary by Penelope version; use help in your installed build as the source of truth.
01 / INSTALL & START
Install from Kali's repositories, then start a listener on a chosen TCP port. Replace example ports and addresses with values from your isolated lab.
sudo apt update && sudo apt install penelopepenelope -p 5000penelope -s shareThe listener must be reachable from the lab target: verify routing, host firewall rules, and the interface address before troubleshooting the shell.
02 / MAIN MENU & HELP
helpmoduleshistoryModule names and availability can change between releases. Review each module before running it and confirm that its actions are permitted by the engagement scope.
03 / SESSION MANAGEMENT
sessionsuse 1interact 1Ctrl-Dkill 1Replace 1 with the session ID shown by sessions. Detaching is not the same as terminating: confirm the intended action before using kill.
04 / FILE TRANSFER
upload ./report.txtdownload /path/to/approved-file.txtConfirm the active session and destination before transferring. Downloaded files are commonly stored in the relevant session directory under Penelope's local data folder; check your version's output for the exact path.
05 / PORT FORWARDING
Port forwarding can make a service bound to a target's loopback interface reachable through an existing authorized session. The syntax below reflects the command style documented in the referenced walkthrough; check help if your version differs.
portfwd 127.0.0.1:8080 -> 127.0.0.1:8080After creating the forward, test the local endpoint (for example, http://127.0.0.1:8080). Use only a service in scope, and remove the forward when the test is complete.
06 / LISTENERS & CONNECTIONS
listenerslisteners add -i 192.0.2.10 -p 8888connect 192.0.2.20 4321192.0.2.0/24 is a documentation-only example network. Replace these addresses only with lab endpoints you control. Listener binding and inbound firewall rules must match your lab design.
07 / QUICK COMMAND MAP
| Command | Purpose | Note |
|---|---|---|
help | Show available commands | Best first stop for version-specific syntax. |
modules | List helper modules | Review module behaviour and scope first. |
sessions | Show sessions | Use IDs from the current output. |
use ID | Select a session | Does not necessarily attach interactively. |
interact ID | Attach to a session | Use the correct session ID. |
upload FILE | Transfer local file to target | Verify destination and scope. |
download PATH | Retrieve target file | Handle collected data securely. |
history | Review menu history | Useful for notes and reproducibility. |
kill ID | Terminate a session | Destructive; double-check the ID. |
08 / OPERATOR CHECKLIST
- Confirm authorization, target scope, callback address, and port before starting.
- Use a dedicated lab listener and verify host firewall and routing.
- Record session IDs and keep notes of commands and timestamps.
- Minimize collection of secrets and personal data; protect logs and downloads.
- Close sessions, listeners, forwards, and temporary services when finished.
- Coordinate cleanup with the system owner and preserve evidence if the engagement requires it.
REFERENCE
Based on the Penelope workflow overview in Hacking Articles. This page is an independently organized quick reference, not a reproduction of the source article.
Hacking Articles — Penelope: A Modern Alternative to Netcat for Red Teamers ↗