digiQuack is an easy DuckyScript to DigiSpark payload converter based on C++. It contains various features including full DuckyScript language support, execution limiter, DigiSpark memory optimizations and more. Note though that currently support of foreign keyboard layouts (not english ones) is rather spotty, so try it out and see if it works out for yourself. The code is well documented with comments so feel free to take a look for yourself.
You can use digiQuack by visiting the converter website.
Just download one of the releases or download the source (digiQuack.cpp) and compile it yourself.
Linux/Mac OS users: use ./digiQuack in the terminal to run and follow the prompt.
Windows users: Run the digiQuack.exe. Drag and drop the txt file with the payload you want to convert and follow the prompt.
The converted file will be placed in the scripts' directory (or for macOS under the user directory) and will be named converted.txt. You can then follow seytonic's tutorial (in the credits) to install it on your digispark.
See the releases page to get the latest version: https://github.com/CedArctic/digiQuack/releases/
In case you want to play around with some of my Digispark scripts, you can find them here:
Want to convert Ducky Scripts to Python applications? Check out ducky2python:
- Keyboard usage IDs: www.usb.org/developers/hidpage/Hut1_12v2.pdf
- Seytonic's tutorial: https://www.youtube.com/watch?v=fGmGBa-4cYQ
- Kevin Mitnik for pointing out the 'F' improvement: https://www.youtube.com/watch?v=IRSK_DNYL8Q
- hak5darren for the USB Rubber Ducky Documentation: https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript
- Digistump for the DigiSpark and their documentation: https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h
- AntyStewie for optimizations