Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Den1al authored Dec 5, 2017
1 parent 131bc49 commit d125e0f
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pip install -r requirements.txt
* Command Context
* Injectable via `<script>` tags
* Dumping output to file
* Shell pagination

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

>> help
+-------------+---------------------------------------------------------------+
| command | description |
+-------------+---------------------------------------------------------------+
| list | Lists all the clients registered |
| help | self.help() |
| select <id> | Selected a specific client from the list |
| <command> | Executes a command to the current selected client |
| back | Detaches from the current client |
| exit | Exists this interactive shell |
| coms | Displays the commands and output for the current client |
| com <id> | Displays a specific command and output for the current client |
| comk | Kills a command ("*" for all) |
| clik | Kills a client ("*" for all) |
| dump <id> | Dumps the command output to disk - "dump.txt" |
+-------------+---------------------------------------------------------------+
+-------------+----------------------------------------------------------+
| command | description |
+-------------+----------------------------------------------------------+
| list | Lists all the clients registered |
| help | self.help() |
| select <id> | Selected a specific client from the list |
| info <id> | Prints information on a specific client |
| <command> | Executes a command to the current selected client |
| back | Detaches from the current client |
| exit | Exists this interactive shell |
| coms | Displays the commands and output for the current client |
| com <id> | Displays a specific command and output |
| more <id> | Displays a specific command and output (with pagination) |
| comk | Kills a command ("*" for all) |
| clik | Kills a client ("*" for all) |
| dump <id> | Dumps the command output to disk - "dump.txt" |
+-------------+----------------------------------------------------------+

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

0 comments on commit d125e0f

Please sign in to comment.