16 lines
340 B
Markdown
16 lines
340 B
Markdown
# 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
|
|
``` |