Skip to content

fishgrind/pwnagotchi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

pwnagotchi

Just my custom pwnagotchi plugins

Onebutton.py

Custom plugin to change operating mode, restart/reboot and gracefully shutdown with just one button.

  • Copy to custom plugin directory
  • ssh into the pi and run: sudo apt install python3-gpiozero
  • Make sure you have push button soldered on or plugged on the GPIO-27 / pin 13 and ground, or change the gpio pin in the config (https://pinout.xyz/pinout/io_pi_zero)
  • 1 to 4 seconds -> changes mode
  • 5 to 9 seconds -> restarts pwnagotch (not a reboot) if you would like to reboot comment out line 62 and enable line 63 (pwnagotchi.restart(modeNow) => pwnagotchi.reboot())
  • more than 9 seconds gracefully shuts down the pwnagotchi

I am not a python programmer so if you feel things could be written better, send a pr

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages