Create a USB Rubber Ducky using a Raspberry PI Pico

Download circuitpython for pico board: Pico Download

Plug the Pico board into a USB port. The board will show up as a removable media device. Copy the UF2 file to the root of the media device.

The Pico board will reboot after installing the firmware image.

Download additional libraries: GitHub - adafruit/Adafruit_CircuitPython_Bundle: A bundle of useful CircuitPython libraries ready

from zip file, unpack adafruit_hid folder. copy adafruit_hid to the lib folder.

Circuitpy HID CircuitPython HID Keyboard and Mouse | CircuitPython Essentials | Adafruit Learning System

Ducky Script Python

Copy to the root of the media device as

$ cp //

Copy your Ducky Script file as payload.dd

$ cp /path to media device>/payload.dd

NEW: added support for a programming switch.

Tie pin 0 (GPIO0) to pin 3 (GND) to not automatically run payloads. Easiest way to do this is to add a jumper wire between those pins.

jumper wire