Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.46 KB

README.org

File metadata and controls

46 lines (38 loc) · 1.46 KB

Duckyscript to Digispark

Convert USB-Rubber-Ducky’s scripts to Arduino sketches for Digispark.

The idea was based on https://github.com/CedArctic/digiQuack but the entire project was built from scratch in a different aspect.

Note that commands in newer versions of rubber ducky are not implemented yet. The current implementation is based on the commands listed in the old wiki.

Install

sudo make install

Usage

cat /path/to/ducky-script.txt | ducky2digi > /path/to/digi.ino

Or

ducky2digi /path/to/ducky-script.txt > /path/to/digi.ino

Upload script directly using platformio

ducky2digi -u /path/to/ducky-script.txt

Options

usage: ducky2digi [OPTION]... [FILE]
Convert DuckyScripts to Digistump Arduino sketck
optional arguments:
  -h, --help          show this help message and exit
  -l, --loop          keep repeating the payload
  -f, --no-flash-str  prevent storing strings in flash
  -d, --init-delay D  initial delay before payload starts
  -u, --upload        upload using platformio

Useful links

License

GPL-3.0