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.
sudo make install
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
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
- https://github.com/digistump/DigistumpArduino
- https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript
- https://github.com/hak5darren/USB-Rubber-Ducky/wiki
GPL-3.0