chore: add simple server README.md

This commit is contained in:
agatha 2024-09-07 15:12:14 -04:00
parent 8bede90bba
commit 1f4e4e0933
3 changed files with 18 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ venv
__pycache__
*.py[cod]
server/src/agents.db

View File

@ -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
```

Binary file not shown.