agatha
6c0eb7f941
UnicodeDecodeError occurred when trying to connect to the server with HTTPS. The error was not caught by the broad Exception clause in `handle_agent`, causing a traceback to be dumped. |
||
---|---|---|
.. | ||
config | ||
src | ||
tests | ||
.pylintrc | ||
Dockerfile | ||
README.md | ||
requirements.txt |
Python C2 Server
An exercise in learning and experimenting with a C2 agent and server.
Usage
Start the server:
docker build -t python-c2 .
docker run --rm -p 9999:9999 python-c2
Make a connection and send JSON payload:
echo '{"platform": "windows", "processor": "x86", "memory": 1024, "disk": 2048}' | \
nc localhost 9999