pyc2/server
agatha 829e842d09 fix: server logs an error on extra registration payload fields
Addresses #1 by logging registration with extra fields. It would be possible to ignore
extra fields, but for now it's better to silently fail to prevent spam registrations.
2024-09-07 15:50:38 -04:00
..
config initial commit 2024-09-07 15:03:23 -04:00
src fix: server logs an error on extra registration payload fields 2024-09-07 15:50:38 -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