From 3c72572ba4eca28c55098b11f59c09ced85d8f9c Mon Sep 17 00:00:00 2001 From: agatha Date: Sat, 7 Sep 2024 15:23:32 -0400 Subject: [PATCH] docs: update server README.md with docker instructions --- server/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/README.md b/server/README.md index 234afa9..391eaa6 100644 --- a/server/README.md +++ b/server/README.md @@ -4,9 +4,8 @@ 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 +docker build -t python-c2 . +docker run --rm -p 9999:9999 python-c2 ``` Make a connection and send JSON payload: