pyc2/server
2024-09-07 16:31:57 -04:00
..
config feat: add YAML configuration with defaults 2024-09-07 16:12:35 -04:00
src chore: log warning when config cannot be loaded 2024-09-07 16:31:57 -04:00
tests initial commit 2024-09-07 15:03:23 -04:00
.pylintrc chore: add .pylint and clean up code 2024-09-07 16:27:49 -04:00
Dockerfile feat: add YAML configuration with defaults 2024-09-07 16:12:35 -04:00
README.md docs: update server README.md with docker instructions 2024-09-07 15:23:32 -04:00
requirements.txt feat: add YAML configuration with defaults 2024-09-07 16:12:35 -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