Skip to content

EvgeniGenchev/BadPico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BadPico 👹

Ducky script emulator running on Raspberry Pi Pico. Written in Circuit Python 🐍

GPLv3 License CircuitPython

Requirements

CircuitPython
Adafruit_CircuitPython_HID

Setup

  1. Install CicuitPython like so

  2. Install the Adafruit_CircuitPython_HID libraries.(You can use minipip or install by IDE like Thonny)

  3. 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

Usage

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

Supported commands

  • 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

What to expect

  • Support for loops

About

Raspberry Pi Pico BadUSB. Working with ducky script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages