Skip to content

Commit d125e0f

Browse files
authored
Update README.md
1 parent 131bc49 commit d125e0f

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pip install -r requirements.txt
3636
* Command Context
3737
* Injectable via `<script>` tags
3838
* Dumping output to file
39+
* Shell pagination
3940

4041
## Running
4142
### Create the database
@@ -73,21 +74,23 @@ The shell interface contains various commands (can be revealed using the `help`
7374
By @Daniel_Abeles
7475

7576
>> help
76-
+-------------+---------------------------------------------------------------+
77-
| command | description |
78-
+-------------+---------------------------------------------------------------+
79-
| list | Lists all the clients registered |
80-
| help | self.help() |
81-
| select <id> | Selected a specific client from the list |
82-
| <command> | Executes a command to the current selected client |
83-
| back | Detaches from the current client |
84-
| exit | Exists this interactive shell |
85-
| coms | Displays the commands and output for the current client |
86-
| com <id> | Displays a specific command and output for the current client |
87-
| comk | Kills a command ("*" for all) |
88-
| clik | Kills a client ("*" for all) |
89-
| dump <id> | Dumps the command output to disk - "dump.txt" |
90-
+-------------+---------------------------------------------------------------+
77+
+-------------+----------------------------------------------------------+
78+
| command | description |
79+
+-------------+----------------------------------------------------------+
80+
| list | Lists all the clients registered |
81+
| help | self.help() |
82+
| select <id> | Selected a specific client from the list |
83+
| info <id> | Prints information on a specific client |
84+
| <command> | Executes a command to the current selected client |
85+
| back | Detaches from the current client |
86+
| exit | Exists this interactive shell |
87+
| coms | Displays the commands and output for the current client |
88+
| com <id> | Displays a specific command and output |
89+
| more <id> | Displays a specific command and output (with pagination) |
90+
| comk | Kills a command ("*" for all) |
91+
| clik | Kills a client ("*" for all) |
92+
| dump <id> | Dumps the command output to disk - "dump.txt" |
93+
+-------------+----------------------------------------------------------+
9194

9295
```
9396
Utilizing the command queue, you can fire multiple commands and the client will execute them one by one.
@@ -107,6 +110,10 @@ To view the full command and it's full output (on the `coms` command the output
107110
```python
108111
(Client 1) >> com 1
109112
```
113+
If the command output is too large for your shell, you can utilize the `more` command:
114+
```python
115+
(Client 1) >> more 1
116+
```
110117
111118
## Workflow
112119
After all the installations and configuration is done, the workflow of the application is the following:

0 commit comments

Comments
 (0)