diff --git a/.gitignore b/.gitignore index 642349e..ae2986a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ venv __pycache__ *.py[cod] + +server/src/agents.db diff --git a/server/README.md b/server/README.md index e69de29..234afa9 100644 --- a/server/README.md +++ b/server/README.md @@ -0,0 +1,16 @@ +# Python C2 Server +An exercise in learning and experimenting with a C2 agent and server. + +## Usage +Start the server: +```bash +pip install -r requirements.txt +cd src +python main.py +``` + +Make a connection and send JSON payload: +```bash +echo '{"platform": "windows", "processor": "x86", "memory": 1024, "disk": 2048}' | \ +nc localhost 9999 +``` \ No newline at end of file diff --git a/server/src/agents.db b/server/src/agents.db deleted file mode 100644 index bd3e3ca..0000000 Binary files a/server/src/agents.db and /dev/null differ