|
@@ -289,6 +289,44 @@ The answer consists of an array of objects, each representing a transfer.
|
|
`speed` contains the speed in bytes per second.
|
|
`speed` contains the speed in bytes per second.
|
|
`method` contains the covert channel method being used.
|
|
`method` contains the covert channel method being used.
|
|
|
|
|
|
|
|
+### 2.9 Queue command
|
|
|
|
+
|
|
|
|
+To add a file that is already on the server to the queue for sending with the covert channel, the use the `queue` command.
|
|
|
|
+
|
|
|
|
+Client:
|
|
|
|
+```
|
|
|
|
+write: "queue" file_name
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+Server:
|
|
|
|
+```
|
|
|
|
+{
|
|
|
|
+ "command": "queue",
|
|
|
|
+ "file": string,
|
|
|
|
+ "accept": bool,
|
|
|
|
+ "error": string
|
|
|
|
+}
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+### 2.11 Dequeue command
|
|
|
|
+
|
|
|
|
+To remove a file from the queue for sending with the covert channel, the use the `dequeue` command.
|
|
|
|
+
|
|
|
|
+Client:
|
|
|
|
+```
|
|
|
|
+write: "queue" file_name
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+Server:
|
|
|
|
+```
|
|
|
|
+{
|
|
|
|
+ "command": "dequeue",
|
|
|
|
+ "file": string,
|
|
|
|
+ "accept": bool,
|
|
|
|
+ "error": string
|
|
|
|
+}
|
|
|
|
+```
|
|
|
|
+
|
|
## 3. Disconnecting and exiting
|
|
## 3. Disconnecting and exiting
|
|
|
|
|
|
### 3.1. Disconnect
|
|
### 3.1. Disconnect
|