Git Product home page Git Product logo

pillducky's Introduction

PillDucky

PillDucky is similar to "Hak5's Rubber Ducky" but for STM32 boards.

Introduction

Requirements

  1. STM32CubeProgrammer
  2. STM32(64KB+)
  3. Arduino IDE
  4. FTDI Breakout board/ST-Link (For Burning Bootloader Only)

Bootloader

STM32 boards do not come with bootloader flashed out of the box. However, it is quite easy to burn bootloader.
The recent Bootloader 2.2.x enables STM32 to work as a HID.
I would recommend watching "Caleb Marting"'s video. Caleb Marting's video, It's a Great video to get started on programming the STM32s through USB, also there are some steps shown in the video which are important for PillDucky to work.

Getting Started

You will have to add the path of "%STM32CubeProgrammer%\bin" to the "PATH" of the "System Variables" in order to program the STM32 with the 2.2.x Bootloader.
Assuming that the new bootloader is flashed, now we can setup our "PillDucky".

Setting Up PillDucky

PillDucky works with all the scripts of original "Hak5's Rubber Ducky" except the ones which requires WiFi onboard.
In order to make "Rubber Ducky" scripts work on PillDucky you will have to use Duckweeno's Duckuino or d4n5h's Duckuino compilers. The compilers are self-explanatory. If you are using d4n5h's Duckuino you will have to install additional Library in the Arduino IDE.

Programming PillDucky

PillDucky can be programmed from Arduino IDE for that you will need some additional changes in the "Tools" section in the IDE:

  1. USB Support (if avilable):"HID(Keyboad and Mouse)"

NOTE: You will have to move BOOT1 jumper from 0 to 1 position to initialize the bootloader which is required for programming the STM32 board through the micro-USB. After the progamming is done don't forget to move the BOOT1 jumper to 0 position

pillducky's People

Contributors

arduino3128 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ronwoch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.