Skip to content

Commit

Permalink
Update ADDED and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
xcellerator committed Nov 29, 2017
1 parent 945d855 commit 79f8a53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions ADDED.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@

As things get crossed off the [TODO](TODO.md) list, they will be written about here.

### Post-Setup Scripts
### Read-Only Storage Mode `Version: TBA`
A feature that I'm very excited to be releasing is being able to present a Read-Only Mass Storage device to a host via the USB Ninja. As usual, you can do this by adding a new line to `options.txt`.

```
.
.
.
storage_ro: yes
```

If you set this straight away, then you just won't be able to add anything to the mass storage. The idea is that you should leave the device in read/write mode (by simply omitting a `storage_ro` line in `options.txt`) and place a payload of some kind on the drive. You can then set the read-only flag in `options.txt` so ensure that an AV solution present on the target cannot delete or quarantine your payload if it is detected.

### Post-Setup Scripts `Version: TBA`

You can now specify a script or executable than will be ran after the gadgets are setup and running.
This done by adding a new line to `options.txt`.
Expand All @@ -24,7 +36,7 @@ You can do this with a simple `chmod` as below:
$ sudo chmod +x /boot/usbninja/exec.sh
```

### Alternative Backing File in `storage` mode
### Alternative Backing File in `storage` mode `Vesion: TBA`

By default, the backing file used in `storage` mode is the one located at `/lib/usbninja/storage.img`. However, you can create another one, as detailed in [STORAGE.img](src/STORAGE.img). Once done, you can specify the location of your new backing file in `options.txt` with the `storage: ` line.
```
Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TODO

## Features
* Add option to set storage as read-only on Host PC
* ~~Add option to set storage as read-only on Host PC~~
* Smart VID/PID decisions based on chosen gadget
* hid_remote gadget
* Add "one-stop-shop" mode that deletes options.txt after execution
Expand Down

0 comments on commit 79f8a53

Please sign in to comment.