The RubberNugget supports adding payloads both through the web interface and directly over USB.
To start, let's write a simple DuckyScript Payload and save it over USB.
Step 1: Write & Save a Simple Script
In your word processer of choice, write out a simple script and save it a plain .TXT file
1
GUI SPACE
2
DELAY 100
3
STRING Terminal
4
ENTER
5
DELAY 1000
6
STRING curl parrot.live
7
ENTER
Copied!
Step 2: Plug in Your RubberNugget
Once you've plugged in your RubberNugget with a USB type C cable that supports data transfer, it should appear on your computer as a flash drive.
The Nugget comes pre-loaded with 4 different folders to cover 3 operating systems and frequently used payloads:
Linux
Mac
Windows
Starred payloads
You can re-name these folders if you wish.
Inside each folder, you can add up to 3 sub-folders to organize your payloads by catagory. Each sub-folder can hold 3 payloads, for a maximum of 36 payloads total.
You can add more than 36 payloads and still access them via the web interface, but they will not be visible via the button interface.
Step 3: Drag & Drop Your Payload to the Nugget
We'll drop our payload in a "Test" folder under the "Mac" operating system folder. The file structure will look like this:
RubberNugget Drive --> Mac Folder --> Test Folder --> Payload.TXT
Once we drop our file onto the Nugget, we can see it by pressing the left button for the Mac folder, then selecting the "Test" folder.
Step 4: Select & Run Your Payload
Next, we select the "Test" folder we just made by pressing the left button.
Inside the "Test" folder, we should see our payload.TXT!
We can run our payload by pressing the up button.
When the payload starts executing, the LED will turn red.
You can watch each command execute on the built-in screen while the payload runs.
That's it! We've created a test payload and run it on the RubberNugget using the USB interface.