From 9b8939d06d3974752e10bc4e92b547bc884b6b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Sat, 25 Nov 2017 16:06:57 +0200 Subject: [PATCH] Updating readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 2fa0464..9bc0659 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,21 @@ execute commands on it. ## Commands +The server accepts the following commands: + //todo +#### Sending commands via netcat + +To grab a file the following command can be send: + +```echo "get file.txt" | nc ip port > lfile.txt``` + +If someone wishes to send multiple commands, the following syntax +can be used: + +```(echo "get file1.txt" & echo "get file2.txt") | nc ip port > concatenated.txt``` + ## Configuration The server can be configured via command line flags with the -ConfigPath option,