Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Upgrade The Cheapest USB Rubber Ducky with Raspberry Pi Pico + CircuitPython

Febi Mudiyanto
Python in Plain English
5 min readDec 12, 2022

--

Photo by Jason Richard on Unsplash
Raspberry pi pico RP2040 — Type C 16 MB

Install the CircuitPython

Raspberry pi pico drive
Download the uf2 file
Copy the uf2 file to the raspberry pi pico drive

The next step is configure your Thonny IDE

Configure CircuitPython to be USB Rubber Ducky

duckyinpython.py to code.py
REM This only works against a Windows victim!
GUI r
DELAY 5000
STRING notepad.exe
ENTER
DELAY 1000
STRING ------------------------
ENTER
STRING Hacked by Febi Mudiyanto
ENTER
STRING ------------------------

Editing payload

Conclusion

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Written by Febi Mudiyanto

Just a Learner and CTFs Player on a quite night.

Responses (2)

Write a response