GhostShell is a stealthy command execution tool that leverages Telegram and emoji encoding to send commands to a remote agent while maintaining a low profile. The agent decodes the commands and executes them on the target machine, sending responses back to the operator.
- 🔥 Stealth Mode – Uses emoji encoding for obfuscation.
- 🎭 Telegram-based Communication – No direct network exposure.
- 📸 Screenshots & Webcam Capture – Retrieve visual data remotely.
- 📁 File Management – View, download, and upload files.
- 💻 System Commands Execution – Run shell commands remotely.
- Clone the repository:
git clone https://github.com/your-repo/GhostShell.git cd GhostShell - Install dependencies:
pip install -r requirements.txt
- Configure your API credentials in
console.py:API_ID = "your_api_id" API_HASH = "your_api_hash" CHAT_ID = your_chat_id
- Run the agent on the target machine:
python agent.py
- Start the command console:
python console.py
- Launch the console:
python console.py
- Enter your commands (e.g.,
whoami,screenshot,downloadFile <path>). - The response will be received in your terminal.
- Type
exitto quit.
Encoded command send from Telegram account to C2 agent.
Usage of console.py to send commands to Bot.
This tool is intended for educational and security research purposes only. Unauthorized use is strictly prohibited. The developers are not responsible for any misuse of this software.
GhostShell 🕶️👻 - Stay in the shadows!


