pyc2/server
2024-09-07 17:36:44 -04:00
..
config feat: add YAML configuration with defaults 2024-09-07 16:12:35 -04:00
src fix: handle uncaught UnicodeDecodeError 2024-09-07 17:09:32 -04:00
tests chore: add test for config loader 2024-09-07 17:36:44 -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
pytest.ini chore: add test for config loader 2024-09-07 17:36:44 -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