Open-source project
jayofelony/pwnagotchi avatar
jayofelony/pwnagotchi

jayofelony/pwnagotchi: a Raspberry Pi Wi-Fi handshake collector without the AI

(⌐■_■) - Raspberry Pi instrumenting Bettercap for Wi-Fi pwning.

3,027 stars337 forksPythonNOASSERTION

At a glance

What is it?
This fork of the original Pwnagotchi keeps bettercap on a Raspberry Pi to capture WPA handshakes and PMKIDs, but drops the reinforcement learning layer. Here is what it does, how to install it, and where it stops being the right tool.
Who is it for?
Adopt it if you already own a 64-bit Raspberry Pi (Zero 2 W, 3, 4 or 5), you accept the GPL3 obligations, and you want passive handshake collection without the original AI layer. Do not adopt it if you need an actively maintained 32-bit Zero W build, or if you expect a finished product with documented rollback.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 58 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • jayofelony/pwnagotchi3,027 ★ · +101
Star history
Repository2026-09-242026-11-24
jayofelony/pwnagotchi2.9k3k

101 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What jayofelony/pwnagotchi actually captures

The project is a Raspberry Pi image that runs bettercap and tries to collect crackable WPA key material from nearby networks. According to the README, the material is stored as PCAPNG files and can contain PMKIDs, full WPA handshakes and half WPA handshakes. Those are the formats hashcat can consume, which is the point: the device gathers, hashcat cracks elsewhere.

The audience is narrow. You need a Raspberry Pi, a supported Wi-Fi chipset that can go into monitor mode, and a reason to walk around with it. The README lists the supported boards as RPiZero2W, RPi3, RPi4 and RPi5 in 64-bit, and calls the 32-bit RPiZeroW a legacy device with no more new releases. If you are choosing hardware today, that line is the most useful sentence in the repository.

The fork also keeps the social feature. Multiple units in close physical proximity advertise their presence to each other by broadcasting custom information elements, using what the README describes as a parasite protocol built on top of the existing dot11 standard. Two Pwnagotchis meeting on a street will notice each other even without a network.

Why the AI was removed, and what replaced it

The original Pwnagotchi had a reinforcement learning layer that adapted its behaviour to the environment. This fork removed it. The README's stated reason is that the AI destabilized the Wi-Fi firmware, and the maintainer chose more up-time and longer battery life instead.

The dependency list in pyproject.toml confirms the removal rather than just describing it. numpy, gast and shimmy are commented out with the note that they were AI training pipeline dependencies only. What remains is the instrumentation: scapy, bettercap via the image build, flask and flask-cors for the web UI, websockets, gpiozero with rpi-lgpio and rpi_hardware_pwm for the hardware side, plus display libraries inky and spidev. The Python requirement is 3.11 or newer.

That is a real trade-off, not a cleanup. A device that no longer learns cannot improve its own capture rate over time. What it gains is predictability: the same firmware path every boot, no training state to corrupt, and a dependency tree that no longer pulls in a numerical stack. For a gadget you leave running on a battery, that is the more defensible engineering choice.

Installing jayofelony/pwnagotchi and getting to the web UI

The README does not contain install steps. It says plainly: for installation docs check out the wiki. So the commands below are the repository-level ones, not a substitute for that wiki page.

The repository ships three config presets at the top level: config-32bit, config-64bit and config-headless. Pick the one matching your board before you flash anything.

If you build from source rather than flashing a release image, the Makefile expects the submodules to be present. Run this after a fresh clone:

bash
make submodules

That checks out every submodule at the commit the tree pins. The Makefile comment is explicit that the image build needs bettercap, pwngrid and the nexmon trees, so skipping this step leaves you with a tree that cannot produce an image.

There is a second target that deliberately changes what the next image contains:

bash
make update-submodules

The Makefile warns that bettercap, pwngrid and the nexmon sources all float, and that the resulting pointer bumps should be committed and test-built rather than left in a working tree. If you only want a working device, use make submodules and stop there.

The Python package itself is installable, and pyproject.toml registers a console entry point:

bash
pip install .
pwnagotchi

That maps to pwnagotchi.cli:pwnagotchi_cli. Be aware that the dependency list includes dbus-python, smbus, smbus2, spidev and rpi-lgpio, which are hardware and system libraries. A plain pip install on a laptop is not the intended path.

For the web UI, the README does not document a default IP address, port or login. What the repository does show is that flask, flask-cors and flask-wtf are dependencies, so a browser-facing interface exists. For the address to type, the wiki is the source, not this article.

The 32-bit Zero W problem and other hard limits

The clearest limitation is stated by the maintainer, not inferred. The RPiZeroW 32-bit build is described as a legacy device with no more new releases. Older versions work, and that is the whole promise. Anyone who bought a Zero W because the original project targeted it should read that sentence before ordering a screen and a case.

Second, the repository's licence field reports NOASSERTION even though the README and the pyproject classifier both say GPL3. The practical consequence is that you cannot trust an automated licence scan on this repository. Read LICENSE.md yourself. If you plan to redistribute a built image or sell hardware with it preloaded, that file is the one that matters, and this article is not legal advice.

The third limit is documentation depth. The README is short by design and delegates to the wiki and to pwnagotchi.org. There is no rollback procedure in the README, no recovery steps for a device that stops booting, and no troubleshooting section. For a tool you flash onto removable storage, that silence is the thing most likely to cost you an evening.

Finally, the firmware angle. The maintainer removed the AI because it destabilized the Wi-Fi firmware, which tells you the radio path is sensitive to what runs on top of it. The Makefile builds a brcmfmac-nexmon DKMS package from a submodule, so the driver is part of the image rather than something the distribution ships. That is more control and more surface area at the same time.

Pwnagotchi vs Flipper Zero and Bjorn

People compare this to Flipper Zero and to Bjorn, and the difference is in what each device is for.

Flipper Zero is a handheld multi-protocol tool. It covers sub-GHz radio, NFC, RFID, infrared and GPIO in one pocket-sized unit with a screen and buttons. Pwnagotchi does one thing: it runs bettercap on a Raspberry Pi to collect WPA handshake material as PCAPNG. It has no sub-GHz radio, no NFC reader and no infrared. If your interest is broad hardware experimentation, the Flipper is the generalist and Pwnagotchi is the specialist.

Bjorn is the closer comparison, because it also targets Wi-Fi handshake collection on small hardware. The architectural difference visible here is the AI removal. This fork deliberately gave up adaptive behaviour for firmware stability and battery life, and the dependency list backs that up with the commented-out numpy, gast and shimmy entries. A project that keeps a learning layer is optimizing for capture rate over time; this one is optimizing for staying up.

The other difference is the social protocol. The README describes units advertising their presence to each other through custom information elements on top of dot11. That is a Pwnagotchi-specific feature, and it only pays off if other Pwnagotchi units are physically nearby.

Maintenance, releases and what an upgrade costs you

The repository is not archived, and the last push was on 2026-09-22. Releases are frequent: v2.9.5.6 on 2026-08-10, then v2.9.5.7 and v2.9.5.8 both on 2026-08-18. That cadence suggests active work, though the version numbers clustering in the 2.9.5.x range also suggests incremental fixes rather than structural change.

The default branch is named noai, which is worth knowing if you script against it. Any tooling that assumes main or master will fail on a fresh clone.

Upgrade cost is dominated by the image build, not by pip. The Makefile notes that WORK_DIR can use up to 20GB of storage before data is merged into an image, and the build dependencies listed there include qemu-user-static, debootstrap, quilt and zerofree. Building the nexmon DKMS package adds debhelper, dh-sequence-dkms and dpkg-dev on top. That is a real toolchain, not a one-line update.

The floating submodules are the second cost. Because bettercap, pwngrid and the nexmon sources are not pinned by branch in normal use, the same commit of this repository can produce different images over time depending on when you run make update-submodules. The Makefile tells you to commit and test-build those pointer bumps. If you skip that discipline, reproducing a working image later becomes guesswork.

On licensing: the README states the project is released under GPL3, and pyproject.toml carries the GPL classifier while the repository metadata reports NOASSERTION. GPL3 obligations attach to distribution, so if you only run it yourself the question is academic. If you ship images or hardware, read LICENSE.md and get proper advice.

Editorial conclusion

Adopt it if you already own a 64-bit Raspberry Pi (Zero 2 W, 3, 4 or 5), you accept the GPL3 obligations, and you want passive handshake collection without the original AI layer. Do not adopt it if you need an actively maintained 32-bit Zero W build, or if you expect a finished product with documented rollback. Verify first that the wiki install path matches your board and that your local radio regulations permit monitor mode, because the README itself only points at the wiki and the repository's LICENSE.md is the file you have to read before redistributing an image.

Frequently asked questions

Is the Pwnagotchi legal?

The repository does not contain a legal analysis. It states the project is released under GPL3, which covers the software licence, not what you are allowed to do with radio. Whether capturing handshakes from networks you do not own is lawful depends on your jurisdiction, and the README gives no guidance on that.

What is the default IP address for Pwnagotchi?

The README does not document a default IP address. It points to the wiki for installation documentation, and the repository shows flask and flask-cors as dependencies, which confirms a web interface exists but not where it listens. Check the wiki rather than assuming an address.

How long does a Pwnagotchi battery last?

No battery figure appears in the README or in pyproject.toml. The README does say the AI was removed to give the Pwnagotchi more up-time and longer battery life, and it mentions a partnership with PiSugar, but it publishes no runtime number.

What OS does Pwnagotchi use?

The project ships as a Raspberry Pi image rather than as software you install on a desktop distribution. The Makefile builds images through pi-gen, with separate pi-gen-32bit and pi-gen-64bit directories and stage3 trees, and pyproject.toml requires Python 3.11 or newer.

How do I access the Pwnagotchi web UI?

The README does not give the address or the steps. What it does say is that installation docs live in the wiki, and the dependency list includes flask, flask-cors and flask-wtf, so a browser interface is part of the build. Use the wiki for the actual procedure.

Is Pwnagotchi dead?

No. The repository is not archived, the last push was on 2026-09-22, and three releases landed in August 2026: v2.9.5.6, v2.9.5.7 and v2.9.5.8. What did end is new 32-bit releases for the RPiZeroW, which the README calls a legacy device.

Official sources

  1. Issues
  2. jayofelony/pwnagotchi on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/jayofelony-pwnagotchi.svg)](https://hysenlabs.com/projects/jayofelony-pwnagotchi)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/jayofelony-pwnagotchi.svg)](https://hysenlabs.com/projects/jayofelony-pwnagotchi)

Was this useful?