Menu

Reddit - Please wait for verification

#raspberrypi#reddit#article#video#discussion
Reading 0:00
15s threshold

About 10 months ago I shared a Pi Zero 2 W BadUSB toolkit here (original post). It worked, but one feature was permanently marked "WIP" in the README: "Fully resets after each attack for reliable re-triggering". After every payload fired, you had to power-cycle the Pi to fire it again. I'd written it off as "probably impossible". I came back to it this week and worked through a full rewrite with Claude Code (Anthropic's CLI agent) as a pair-programmer. It SSHed into the Pi on my homelab, ran diagnostics, proposed and implemented fixes, and we iterated live with me controlling the physical USB plug/unplug. End result: the "reset between attacks" feature now genuinely works, plus a bunch of correctness and safety fixes I'd missed. What's new since the July post: Reset between attacks works. Plug, fire, unplug, replug — fires again. No power-cycle. (Turns out the Pi Zero 2 W literally cannot detect physical USB unplug in software — there's no VBUS sense wired to the SoC.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.