156

GitHub - dbisu/pico-ducky: Create a USB Rubber Ducky like device using a Raspber...

 2 years ago
source link: https://github.com/dbisu/pico-ducky
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico

Download circuitpython for pico board: https://circuitpython.org/board/raspberry_pi_pico/

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: https://github.com/adafruit/Adafruit_CircuitPython_Bundle

https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20210130

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

Circuitpy HID https://learn.adafruit.com/circuitpython-essentials/circuitpython-hid-keyboard-and-mouse

Ducky Script Python

Copy duckyinpython.py to the root of the media device as code.py

$ cp duckyinpython.py //code.py

Copy your Ducky Scipt 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK