Home made rubber ducky (alternative)

Jay Sharma
3 min readMay 23, 2021

--

Note : This is for educational purpose only

So basically i want USB Rubber Ducky but i can’t afford it because its too expensive and they also don’t delivery to India.

let make one of them at home at cheaper rate it’s just cost you like 5$ some where.

so i order the Arduino Leonardo/Micro you can order “Digispark” but have some issue.

Arduino Leonardo/Micro pro

Requirements for Home made USB Rubber Ducky

Hardware requirements

  1. Arduino Leonardo/Micro pro
  2. USB cable (Type B to USB)
  3. OTG Pen drive (optional)

Software requirements

  1. Arduino IDE
  2. Ducky file convertor
  3. A Ducky Script

Download these software’s from the above link.

step 1: open Arduino

step 2: open https://dukweeno.github.io/Duckuino/
hint : Make sure you are connected to internet while compiling if you don’t have internet else the code will not compile.

step 3: Past the code you like from Github

WINDOWS
DELAY 200
STRING cmd
DELAY 200
ENTER
DELAY 200
STRING ipconfig
DELAY 200
ENTER

and hit compile the code & copy after compile.

step 4: Go back to the Arduino IDE and replace the code that you copied.

past compile code in IDE

step 5: before pushing this code to your connected Arduino Leonardo/Micro pro check the setting first

Tools >> Board
Tools >> Port

step 6 : upload the code

if you plug in the device the windows cmd prompt will open and ipconfig info will show and matter of milliseconds as the device is pluged in.

Here is a problem i face wile using this so every time the script run automatically so you can add a reset button.

use pin3 and Ground

pinMode(3, INPUT_PULLUP); if (digitalRead(3) == LOW){ while(1); }

so use above code for reset button

suggestion :

you can add an OTG pen drive to dump data in pen drive

--

--

Jay Sharma
Jay Sharma

No responses yet