Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ If you have no idea what Duckyscript is, see the [Hak5 USB Rubber Ducky Wiki](ht

For practical usage instructions and gotchas, check on [the Wiki page](https://github.com/phikshun/jackit/wiki).

### Running as non root
To use jackit without root privileges, you can add an `udev` rule for the CrazyRadio PA dongle.
Example: `/etc/udev/rules.d/41-mousejack.rules`
```
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="0102", GROUP="plugdev", MODE="0660"
```
Assuming your user is in `plugdev` group, this rule will allow you to use the device. Restart the `udev` service to apply the rule.

## Who

This implementation was written by phikshun and infamy. Our code is all BSD license. All the files in the lib directory were written by Bastille's research team and are GPLv3 license.
9 changes: 0 additions & 9 deletions bin/jackit
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ def banner():
print("")


def confirm_root():
# make sure we are root
if os.getuid() != 0 and platform.system() != 'Darwin':
_print_err("ERROR: You need to run as root!")
_print_err("login as root (su root) or try sudo %s" % sys.argv[0])
exit(-1)


@click.command()
@click.option('--debug', is_flag=True, help='Enable debug')
@click.option('--script', default="", help="Ducky file to use for injection", type=click.Path())
Expand All @@ -135,7 +127,6 @@ def confirm_root():
def cli(debug, script, lowpower, interval, layout, address, vendor, reset, autopwn, all_channels, keylogging):

banner()
confirm_root()

if debug:
print(O + "[W] " + W + "Debug is enabled.")
Expand Down