Updating readme

This commit is contained in:
Denis-Cosmin Nutiu 2017-11-25 16:06:57 +02:00
parent b87b825ef9
commit 9b8939d06d

View file

@ -7,8 +7,21 @@ execute commands on it.
## Commands ## Commands
The server accepts the following commands:
//todo //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 ## Configuration
The server can be configured via command line flags with the -ConfigPath option, The server can be configured via command line flags with the -ConfigPath option,