Home made rubber ducky (alternative)
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.
Requirements for Home made USB Rubber Ducky
Hardware requirements
- Arduino Leonardo/Micro pro
- USB cable (Type B to USB)
- OTG Pen drive (optional)
Software requirements
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.
step 5: before pushing this code to your connected Arduino Leonardo/Micro pro check the setting first
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