How shenal01/stegoc2 works
This repository implements a steganography-based command-and-control workflow: a commander embeds a command in an image and uploads it; an agent retrieves the image, executes the concealed command, and uploads an image containing the output; a receiver can fetch and reveal that output. The README is empty. The relationships shown are supported by the sampled source; external services are represented only where the code makes requests to them.
Main entry points: agent.py Run mission · receiver.py Fetch response · commander.py Commander CLI
Components 14
Command delivery
- Commander CLI
commander.py - Embed command
commander.py
Agent execution
- Agent entry
agent.py - Fetch image
agent.py - Run mission
agent.py - Encode output
agent.py - Upload output
agent.py
Result retrieval
- Receiver CLI
receiver.py - Fetch response
receiver.py - Reveal output
receiver.py
Other components
- Operator
- Catbox hosting
- Command shell
- Telegram API
Connections 16
- Operator → Commander CLI: provides command
commander.py - Commander CLI → Embed command: calls
commander.py - Embed command → Catbox hosting: uploads image
commander.py - Operator → Agent entry: provides image URL
agent.py - Agent entry → Fetch image: calls
agent.py - Fetch image → Catbox hosting: fetches image
agent.py - Agent entry → Run mission: calls
agent.py - Run mission → Command shell: executes command
agent.py - Run mission → Encode output: embeds output
agent.py - Run mission → Upload output: uploads response
agent.py - Upload output → Catbox hosting: uploads image
agent.py - Run mission → Telegram API: sends result URL
agent.py - Operator → Receiver CLI: provides response URL
receiver.py - Receiver CLI → Fetch response: calls
receiver.py - Fetch response → Catbox hosting: fetches image
receiver.py - Fetch response → Reveal output: reveals payload
receiver.py