pyc2/server
agatha d7151ca5b0 fix: server correctly handles non-JSON payloads
This commit addresses the server not handling non-JSON payloads correctly.
Fixes #2
2024-09-07 15:38:51 -04:00
..
config initial commit 2024-09-07 15:03:23 -04:00
src fix: server correctly handles non-JSON payloads 2024-09-07 15:38:51 -04:00
tests initial commit 2024-09-07 15:03:23 -04:00
Dockerfile feat: add Docker build 2024-09-07 15:22:06 -04:00
README.md docs: update server README.md with docker instructions 2024-09-07 15:23:32 -04:00
requirements.txt initial commit 2024-09-07 15:03:23 -04:00

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