8 comments

[ 2.5 ms ] story [ 26.4 ms ] thread
Glad this is a thing - having lost 2 rubber duckies myself, a cheaper alternative is great. Only thing I would need is DuckyScript compatibility, so I wouldn't need to rewrite all my existing payloads.
When you say you lost them, do you mean you 'accidentally' lost them in a company parking lot?!?

It doesn't look too hard to re-write existing payloads, but you need to do some translation from, e.g.

Rubber ducky:

  GUI r
This project:

  DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
Awesome. Does anyone know of a USB-C alternative?
I've spun a few Digispark based designs, and you can basically just replace the micro-usb connector with a usb-c one.
A while ago I wrote a Rubber Ducky server [1] that is remote controlled and uses a Raspberry Pi Zero W (which supports being a USB HID device).

Once connected to a host computer, it exposes a hidden WiFi network that allows you to inject and run Ducky Scripts remotely in real time using a small web interface.

It also includes a Ducky Script parser written in Python which could be useful outside of this project. You can grab it here [2]

[1]: https://github.com/ozkatz/pi-remote-ducky [2]: https://github.com/ozkatz/pi-remote-ducky/blob/master/ducky/...

I wrote something similar to this, except it used the caps lock key to get data back across from the computer. The benefit is that you don't need to rely on a network to get data back. Often the keyboard is the most trusted device on the machine.