

go back to home
Making a simple but cheap RubberDucky USB on home
Sept. 5, 2024, noonOfficial RubberDucky are cool but expensive, there is a cheaper (and kinda limited) way around it...
You can buy one of these chips at very cheap cost (~5$).
Then proceed with installation:
1 - Install drivers at github.
1.1 – Unzip file, open file DPinst64.exe, click nextnextnext etc
2 - Install Arduino IDE (Legacy) from arduino site.
3 - Open Arduino, go to File > Preferences, and on "Additional Boards Manager URLS", paste:
https://raw.githubusercontent.com/digistump/arduino-boards-index/refs/heads/master/package_digistump_index.jsonand click OK
3.1 - Go to Tools, in Board: [some board here if you have connected], Boards Manager
3.2 - Search for "Digitump", install "Digitump AVR Boards", and hit close after install
4 - With all that installed, program your device, use code below as example (this will open calc on windows):
#include "DigiKeyboard.h"void setup() { }
void loop() {
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(500);
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
DigiKeyboard.delay(500);
DigiKeyboard.print("calc");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(500);
for (;;) {
/*empty loop*/
}
}
5 - To upload, remove the board, press Ctrl+U, on console connect usb board again if it asks to do, and the script will executed
6 - Check these scripts too.
And the rest is history.