Ducky script emulator running on Raspberry Pi Pico. Written in Circuit Python 🐍
CircuitPython
Adafruit_CircuitPython_HID
-
Install CicuitPython like so
-
Install the Adafruit_CircuitPython_HID libraries.(You can use minipip or install by IDE like Thonny)
-
clone this repository and upload the code
- on Windows (ampy)
$ pip install adafruit-ampy
$ git clone https://github.com/EvgeniGenchev/BadPico
$ cd BadPico
$ rename main.py code.py
$ ampy --port COM<device_number> put code.py
- on Linux (ampy)
$ sudo pip3 install adafruit-ampy
$ git clone https://github.com/EvgeniGenchev/BadPico
$ cd BadPico
$ mv main.py code.py
$ sudo ampy --port /dev/<device_name> put code.py
Create a file script.txt
with your ducky script on it and upload it to the RaspberryPi Pico
# Linux
$ sudo ampy --port /dev/<device_name> put script.txt
# Windows
$ ampy --port COM<device_number> put script.txt
- DEFAULT_DELAY \ DEFAULTDELAY
- DELAY
- STRING
- CAPS_LOCK \ CAPSLOCK
- BREAK \ PAUSE
- F1, F2 ..., F12
- DELETE \ DEL
- END
- HOME
- NUMLOCK
- PAGEUP, PAGEDOWN, PRINTSCREEN
- SCROLLOCK
- SPACE \ SPC
- TAB
- GUI \ WINDOWS
- ALT \ OPTION
- INSERT \ INS
- ESCAPR \ ESC
- CTRL \ CONTROL
- SHIFT
- MENU \ APP
- ENTER
- Support for loops