Download and setup Pwnhyve
Become root
If the system hasn't been updated already, please update it now 🙃
Clone the Pwnhyve repo
Setup
dwc2
for usb gadget mode in /boot/firmware/config.txtEnable SPI
Setup special SPI pins
Install requirements using pip
Install required tools
Build FastIO
Put the USB gadget script in
/bin
No need to setup the USB script to run on boot, pwnhyve already runs it when started
Create
piusb.bin
for usb mass storage (edit to your needs)Setup pwnhyve's systemctl service
Restart systemctl's daemon and enable pwnhyve
reboot
Pwnhyve should be running as soon as the RPi boots.
Last updated