Skip to content

Simple tool for fuzzing the pwnagotchi "friend" protocol

Notifications You must be signed in to change notification settings

bensmith83/pwnagotchya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pwnagotchya

Simple tool for fuzzing the pwnagotchi "friend" protocol. Is your pwnagotchi lonely? Do you want to send weird faces? Have more friends than anyone? Find bugs in the friend protocol?

It's Alive!

Usage

  • -i to specify interface in monitor mode
  • -t to use a test file hardcoded to testfriend.json (not compatible with -f, currently -t takes precedence)
  • -d to get some debug info on screen
  • -f to fuzz the data - Currently DOES NOT WORK well. (not compatible with -t)

sudo python3 pwnagotchya.py -i wlan1 -d -t

Requirements

Scapy. Python3. I'm using an Alfa card on a RPi 4. Something you can put in monitor mode.

TODO

Lots of todos in the code. I'll forget to list them here at some point.

  • working PoC
  • fix fuzz option so it doesn't build way too big packets
  • add a mode to fuzz statically (i.e., send the same packet repeatedly, not fuzz every single time)
  • options to fuzz/set specific parameters (setting can be accomplished now by using the testfriend.json)
  • rewrite with boofuzz or something and have a connection to the gotchi to watch for odd results
  • polishing

Notes

  • friend count seems to reset after 1000?
  • friend name line gets really screwed up on e-ink display

About

Simple tool for fuzzing the pwnagotchi "friend" protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages