A Bash script that will convert a DuckyScript payload file into an arduino file, compile it and load it on a Digispark ATTiny85.
To do this, this program will download the three projects that will be necessary for its proper functioning
- DuckToolkit, which was used to convert the duckyscript file into a binary file.
- duck2spark, which was used to convert the binary file into an Arduino file
- arduino-cli, which was used to compile and upload the Arduino file to the DigiSpark.
- A Digispark ATTiny85
- A Duckyscript payload file
Since the script will already install the different projects needed, you do not need to install the different projects yourself.
Otherwise, to upload programs on your digispark, you must install "libusb-dev".
On Ubuntu/Debian :
$ sudo apt-get install libusb-dev
This program has 4 options :
$ ./DigiDucky.sh --help
######## #### ###### #### ######## ## ## ###### ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ####
## ## ## ## #### ## ## ## ## ## ## ##### ##
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
######## #### ###### #### ######## ####### ###### ## ## ##
======================================================================
[*] A Bash script that will convert a DuckyScript file into an arduino file, compile it and load it on a Digispark Attiny 85.
Recommended use : ./Duckydigi -i
-h, --help This will display this message
-i, --interactive The classic way to launch the script
-u, --update This will update the different project
-r, --remove This will remove all projects that were necessary for the program to function properly
======================================================================