USB Rubber Ducky Toolkit
Project description
DuckToolkit
Encoding Tools for Rubber Ducky. The duck tools are available in the browser at https://ducktoolkit.com. From here you can also generate payloads from a selection of predefined scripts and templates.
Disclaimer
The Duck Toolkit is an open source Penetration Testing tool for authorized network auditing and security analysis purposes only where permitted. Users are solely responsible for compliance with all laws of their locality. The Duck Toolkit software developers and affiliates claim no responsibility for unauthorized or unlawful use.
Installation
Download the release and install with python setup.py install
Or
sudo pip install --upgrade ducktoolkit
There are no external dependencies other than python. This has been tested on Ubuntu and Windows 10
Usage
The DuckToolkit is provided with a script that will allow you to easily encode and decode your files.
Encode
To encode point the script at your duckcode.txt file, select an output and a language as show in the example below:
ducktools.py -e -l gb /path/to/duck_text.txt /path/to/output.bin
Decode
To decode point the script at your inject.bin file, select an output and a language as show in the example below:
ducktools.py -d -l gb /path/to/inject.bin /path/to/output.txt
Library
The toolkit can also be imported as a library.
from ducktoolkit import encoder
duck_text = 'STRING Hello'
language = 'gb'
duck_bin = encoder.encode_script(duck_text, language)
Limitations
The encoder can only deal with certain Command keys and key combinations. Please see https://usbrubberducky.com for details on supported commands.
The decoder is a best effort decoder. It will attempt to restore all command keys and strings. But its a lot harder going backwards. You will NOT be able to generate a valid duck script from an inject.bin
ToDo
- Support more keyboard layouts / languages.
- Improve the decoder.
- Pip Installation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ducktoolkit-1.0.3.tar.gz
.
File metadata
- Download URL: ducktoolkit-1.0.3.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ace8d85cbdb26e4d5499c507226e6c009a3c7f491b6434950d2207eabc4f193 |
|
MD5 | 4a3b24d33dfebb255c1dd18ffcd626d6 |
|
BLAKE2b-256 | 32ec032437c6593b743122745adaa232fcfb54ffb9cea07ab8a731e38ebf5b57 |