r/Hacking_Tutorials • • 27d ago

Question I built a menu-driven Wi-Fi auditing toolkit in pure Python — with an adapter watchdog that airgeddon doesn't have

I’ve been learning Wi-Fi security and wrote my own toolkit in pure Python to understand how handshake capture, hashcat cracking and Evil Twin attacks actually work under the hood. It ended up being genuinely usable, so I’m sharing it.

What it does: handshake capture (airodump+deauth or hcxdumptool with hashcat-valid output), resumable hashcat cracking sessions, and an airgeddon-style Evil Twin (rogue AP, captive portal with custom HTML, sniffing modes). EN/RU interface.

The whole thing runs through one simple menu — no juggling a dozen commands and flags. The flow is end-to-end: once a handshake is captured you can kick off cracking on it right there, without leaving the tool, and every recovered password is saved and tied to its network so results persist across sessions.

Two things that make it different from airgeddon:

  1. It deauths the AP and the clients at the same time during capture, instead of just one — noticeably better odds of catching a full handshake.
  2. An adapter watchdog: if the Wi-Fi card’s driver stalls mid-scan or mid-attack, a background thread detects it and brings the adapter back automatically, so the process doesn’t just freeze. This was the single most useful thing I added.

Architecturally I’m kind of proud of the menu system — adding a new feature is a one-line entry in a registry, the main loop stays untouched.

For authorized testing of your own networks only.

Repo: https://github.com/lynalan2/wifi_scripts — feedback and ideas welcome.

12 Upvotes

3 comments sorted by

1

u/Alternative-Cash-512 24d ago

Nice, very good idea monitoring the adapter. Will try soon, thank you for sharing

1

u/lynanaln 24d ago

Thanks, appreciate it! The adapter freezing mid-capture was my biggest annoyance, so that part was personal 😄 If you do try it, let me know how it holds up with your card — always curious how it behaves on hardware I can’t test.