DigiDucky is a DIY RubberDucky device, based on DigiSpark ATTINY85 based microcontroller board.


This is the program that has to be uploaded to the microcontroller. It uses SoftSerial to connect with Bluetooth and can receive inputs from a BT serial terminal.
It can also receive multiline scripts from BT serial and execute on the host.

Due to only 32kB of flash , 1kB of EEPROM… special key (KEY_ENTER,MOD_GUI_LEFT) need to be accessed using macros – ASCII character that are least used. This multiline scripts of DigiDucky are different to that of DuckyScript, So I call it QuackScript.


  • # corespondes to windows key and calls DigiKeyboard.sendKeyStroke(MOD_GUI_LEFT)
  • ~ coresponds to enter key and calls DigiKeyboard.sendKeyStroke(KEY_ENTER)
  • < coresponds to backspace key and calls DigiKeyboard.sendKeyStroke(KEY_BK_SPACE) where KEY_BK_SPACE is a macro defined to be 42
  • ? executes key combination to open RUN window
  • ^ executes key combination to open cmd in Administrator Mode

Note: ` runs a preprogammed script hardcoded in the program itself, in DigiDuckyBLE it shuts down the host pc.



View Github