Writing Your First Payload
Making DuckyScript Payloads on the USB Nugget
The USB Nugget supports DuckyScript™, making it easy to create your first payload!
To get started, let's review the full list of DuckyScript™ commands the RubberNugget supports.
When composing a DuckyScript™ payload, commands are executed line by line. It's also possible to press multiple keys at the same time by putting commands on the same line!
To write out a piece of text, type STRING in all caps. See the example below for how this works:
Now that we have the basics down, let's take a look at supported commands:
Most standard keys are supported by the Rubber Nugget.
Keys like SHIFT, ALT, and the WINDOWS or GUI key can be useful for accessing hotkey combinations, are are frequently used in combination key presses.
Virtually anything you can do behind a keyboard can be recreated with the right keypresses. The following keys are essential to trigger keyboard shortcuts and navigate without a mouse.
Now that we've gone over the supported DuckyScript commands, let's load and deploy a payload to the USB Nugget.