An affordable and easy take on the infamous USB Rubber Ducky by Hak5
It is a python driven version, It takes commands from a commands.txt file and executes them.
HOW YOU USE THIS IS UP TO YOUR OWN DISCRETION.
I AM NOT RESPONSIBLE NOR LIABLE FOR ANY DAMAGE THIS CAUSES.
IF YOU DO NOT UNDERSTAND IT THEN PLEASE DON'T USE IT. (I am more than happy to walk you through it)
- Hold down the
bootsel
button and plug in your Pico (to a computer) - this will then show as a USB storage device, - Copy the
.uf2
file onto the USB device(called:RPI-RP2
) device. It should unmount itself, - Then go into your ide (I recommend thonny)
- Then open the .py files, and save them to the board.
- OPTIONAL - If you want you can rename the
USB-Rubber-Goose.py
tocode.py
to make it run on boot, - Now you have the USB-Rubber-Goose Code.
The commands you can put into commands.txt
are the same as anything you can write into the command prompt.
Each line is a different command.
notepad
explorer
idle
The above commands.txt file open notepad, open the explorere, and open idle.
Please be as imaginative as possible and do as much as you want.
write("Some text that the keyboard will type")
#output: Some text that the keyboard will type
_char_to_keycode(A)
#output: b"\x84"
#(Shift+A)
keycodes(b"\x28")
#output: \n
#(newline/enter)