Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pwnagotchi

> 编程语言
Open source

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.

9.2K stars0 likes2 views
WebsiteGitHub

About

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.



[Pwnagotchi](https://pwnagotchi.ai/) is an [A2C](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752)-based "AI" leveraging [bettercap](https://www.bettercap.org/) that learns from its surrounding WiFi environment to maximize the crackable WPA key material it captures (either passively, or by performing authentication and association attacks). This material is collected as PCAP files containing any form of handshake supported by [hashcat](https://hashcat.net/hashcat/), including [PMKIDs](https://www.evilsocket.net/2019/02/13/Pwning-WiFi-networks-with-bettercap-and-the-PMKID-client-less-attack/), full and half WPA handshakes. Instead of merely playing [Super Mario or Atari games](https://becominghuman.ai/getting-mario-back-into-the-gym-setting-up-super-mario-bros-in-openais-gym-8e39a96c1e41?gi=c4b66c3d5ced) like most reinforcement learning-based "AI" *(yawn)*, Pwnagotchi tunes [its parameters](https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/defaults.toml) over time to **get better at pwning WiFi things to** in the environments you expose it to. More specifically, Pwnagotchi is using an [LSTM with MLP feature extractor](https://stable-baselines.readthedocs.io/en/master/modules/policies.html#stable_baselines.common.policies.MlpLstmPolicy) as its policy network for the [A2C agent](https://stable-baselines.readthedocs.io/en/master/modules/a2c.html). If you're unfamiliar with A2C, here is [a very good introductory explanation](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752) (in comic form!) of the basic principles behind how Pwnagotchi learns. (You can read more about how Pwnagotchi learns in the [Usage](https://www.pwnagotchi.ai/usage/#training-the-ai) doc.) **Keep in mind:** Unlike the usual RL simulations, Pwnagotchi learns over time. Time for a Pwnagotchi is measured in epochs; a single epoch can last from a few seconds to minutes, depending on how many access points and client stations are visible. Do not expect your Pwnagotchi to perform amazingly well at the very beginning, as it will be [exploring](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752) several combinations of [key parameters](https://www.pwnagotchi.ai/usage/#training-the-ai) to determine ideal adjustments for pwning the particular environment you are exposing it to during its beginning epochs ... but ** listen to your Pwnagotchi when it tells you it's boring!** Bring it into novel WiFi environments with you and have it observe new networks and capture new handshakes—and you'll see. :) Multiple units within close physical proximity can "talk" to each other, advertising their presence to each other by broadcasting custom information elements using a parasite protocol I've built on top of the existing dot11 standard. Over time, two or more units trained together will learn to cooperate upon detecting each other's presence by dividing the available channels among them for optimal pwnage. ## Documentation https://www.pwnagotchi.ai ## Links   | Official Links ---------|------- Website | [pwnagotchi.ai](https://pwnagotchi.ai/) Forum | [community.pwnagotchi.ai](https://community.pwnagotchi.ai/) Slack | [pwnagotchi.slack.com](https://invite.pwnagotchi.ai/) Subreddit | [r/pwnagotchi](https://www.reddit.com/r/pwnagotchi/) Twitter | [@pwnagotchi](https://twitter.com/pwnagotchi) ## License `pwnagotchi` is made with ♥ by [@evilsocket](https://twitter.com/evilsocket) and the [amazing dev team](https://github.com/evilsocket/pwnagotchi/graphs/contributors). It is released under the GPL3 license.

Issues· 293 open

View all issuesOpen on GitHub
  • #1281

    Can't connect pwnagotchi to macos

    Updated Jul 8, 2026
  • #1276

    pwnagotchi command not found.

    Updated Feb 22, 2026
  • #1275

    Orange PI Zero 2W Compatibility

    Updated Feb 7, 2026
  • #1280

    [BUG]

    bugUpdated Feb 5, 2026
  • #1228

    Win10/Win11 missing RNDIS driver (COM port)

    Updated Jan 18, 2026
  • #1031

    Radxa Zero

    enhancementUpdated Jan 10, 2026
  • #1156

    Please update release to 1.5.6(x) , need Waveshare_3 support

    Updated Nov 20, 2025
  • #1259

    No LEDs after flashing Pwnagotchi image onto SD card

    Updated Nov 20, 2025
  • #942

    [BUG] Bettercap not starting because wlan0/mon0 is available

    bugUpdated Nov 10, 2025
  • #1277

    Impossible to download and save the apparently too big or faulty file.

    bugUpdated Sep 26, 2025

> Tags

Pythonaibettercapdeep-learningdeep-neural-network

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言