baihengaead/wlan-sec-test-tool: a PySide6 WPA/WPA2/WPA3 connection tester driven by a custom password file
A wireless network security testing tool supporting WPA/WPA2/WPA3 testing, multi-instance concurrency and automated connection testing; requires a custom password dictionary.
At a glance
- What is it?
- A Python desktop tool that replays passwords from a local wordlist against scanned Wi-Fi networks to check for weak credentials. It is built for authorised lab work, and its own README spends more words on legal boundaries than on features.
- Who is it for?
- Adopt it if you run an authorised wireless assessment on hardware you own or have written permission to test, and you want a GUI plus a CLI entry point rather than a shell pipeline. Do not adopt it on a laptop with a single adapter if you need the multi-adapter concurrency mode, and do not expect it to crack anything: it only replays entries from the password file you supply.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 175 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 23, 2026, and from our analysis. They are not legal advice.
Star history
- baihengaead/wlan-sec-test-tool4,309 ★ · +93
| Repository | 2026-09-23 | 2026-11-23 |
|---|---|---|
| baihengaead/wlan-sec-test-tool | 4.2k | 4.3k |
93 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What wlan-sec-test-tool actually does, and who it is written for
The project describes itself as a wireless network security testing tool with a graphical interface, and notes that it was originally named as a Wi-Fi brute force tool but renamed to a technical description. The stated purpose is narrower than the old name suggests: it connects to a target network using passwords taken from a custom password file, and the result tells you whether that network is protected by a weak passphrase. Supported security types are listed as WPA, WPAPSK, WPA2, WPA2PSK, WPA3 and WPA3SAE.
The intended audience is spelled out in the README rather than implied. It names academic research and security teaching in a controlled lab or classroom, penetration testing where the target owner has given explicit written authorisation, and testing of network equipment you personally own and control, such as your own router. The README repeats the authorisation warning three times in a row and links to a separate laws repository. That is unusual emphasis, and it is the strongest signal about who the maintainer thinks will find the repository.
What it is not is an offline attack tool. There is no handshake capture, no PMKID processing, no GPU acceleration mentioned anywhere in the README or the file listing. Every attempt is a live association attempt against an access point, which means the tool's speed is bounded by how fast your adapter can associate and by how long you set the connect delay.
The mechanism: pywifi for Windows and Linux, a bundled macOS module, and a JSON dictionary
The core module list in the README splits the platform support in a way that shapes the whole design. On Windows and Linux the tool uses pywifi plus PySide6. On macOS it uses PySide6 and pyperclip, and Wi-Fi operations go through a bundled wifi_macos.py module instead, with the README stating that pywifi is not needed there. The repository layout confirms this: wifi_macos.py sits at the top level next to the three entry point scripts.
Those entry points are wlan_sec_test_tool.py, wlan_sec_test_tool_cli.py and wlan_sec_test_tool_gui.py, with a Qt Designer file wlan_sec_test_tool_gui.ui alongside them. So the GUI is a PySide6 application built from a .ui file, and the CLI is a separate path into the same logic. The pyproject.toml declares two console scripts, wlan-sec-test-tool-cli and the shorter wstt, both pointing at wlan_sec_test_tool_cli:main, and it packages wlan_sec_test_tool_cli and wifi_macos as py-modules.
Data flow is file-driven in both directions. Input comes from ./passwords.txt, one password per line, or from a JSON dictionary at ./dict/pwdict.json where each entry pairs an ssid with a pwd. Output goes to a ./log directory. There is also an automatic mode that the README describes as testing connections to scanned Wi-Fi networks, and a concurrency mode that requires at least two working wireless adapters on the PC.
Installing wlan-sec-test-tool and running a first scan on Linux
The README states Python 3.11.x or newer, recommending 3.11.9, and the pyproject.toml sets requires-python to >=3.11. Platform requirements are Windows 10 and above, Ubuntu 22.04 and above marked experimental, other Python 3.11.x capable Linux systems also marked experimental, and macOS 12 Monterey and above. Note that the Linux support carries the experimental label in the README itself; treat that as the maintainer's own confidence level rather than a marketing caveat.
The repository ships three separate requirement files. For Linux the relevant one is requirements_linux.txt, and the base requirements.txt lists PySide6>=6.7.2, pyperclip>=1.9.0 and pyinstaller>=6.9.0. The README gives no install command of its own, so the only concrete installation path visible in the repository is the platform-specific requirements file:
pip install -r requirements_linux.txtAfter that, the console script declared in pyproject.toml is the documented entry point, with both names pointing at the same main function:
wlan-sec-test-tool-cli
wsttBefore any run, the README's own first instruction is to calibrate two timings: the scan delay and the connect delay. Test your adapter until scanning and connecting both succeed reliably, then set the scan time and connect time in the interface to those values. The README presents this as the prerequisite step, not a tuning suggestion. Then create the password file at the default path, one entry per line:
password1
password2
password3What you should see is a scan listing nearby SSIDs, and for each attempted password either a successful association or a failure, with the run recorded under ./log. If scanning returns nothing, the delay is the first thing to raise, because the tool cannot attempt a connection to a network it never enumerated.
The multi-adapter concurrency mode has a hardware precondition, not a software one
The README's requirement for the concurrent mode is blunt: the PC needs at least two wireless adapters, and both must work. There is no fallback described for a machine with one adapter, and no queueing behaviour documented for the case where a second adapter is absent. That makes this a feature you either have the hardware for or you do not, and it is the kind of constraint that is easy to miss when reading a feature list.
There is a second, quieter limitation in the same area. Because every attempt is a live association, running several adapters in parallel against one access point multiplies the association traffic the AP sees. The README does not document rate limiting, backoff, or any cap on attempts per second. If you are testing a device you own, that is your problem to manage. If you are working under an authorisation, the authorisation usually specifies a window and a rate, and this tool gives you no built-in way to enforce either.
The automatic mode inherits the same shape. It tests connections to whatever the scan returned, which means the target set is whatever is in radio range rather than a list you declared up front. For a lab with one access point that is convenient. In any environment with neighbouring networks, it is a way to generate association attempts against equipment you did not intend to touch.
Where wlan-sec-test-tool is the wrong tool
The clearest case is WPA3. The README lists WPA3 and WPA3SAE as supported test types, but SAE is a different handshake from the WPA2 four-way exchange, and the README does not explain how the tool handles it. Whether an SAE network is meaningfully testable by replaying passwords from a wordlist depends on details the documentation does not provide. Treat the WPA3 line as a claim to verify against your own hardware before you build a test plan around it.
Second, the tool cannot tell you anything about a network whose passphrase is not in your file. A negative result means only that the entries you supplied did not work. The README is explicit that a custom password file is required, so the quality of the result is entirely a function of the file you wrote. There is no generation, no rule-based mutation, and no statistics about coverage.
Third, macOS users get a different code path. Because Wi-Fi operations go through wifi_macos.py rather than pywifi, any behaviour difference between the two implementations is possible, and the README does not describe what those differences are. If your assessment spans both platforms, verify that the macOS path reports the same outcomes before comparing results.
Finally, the Linux support is labelled experimental by the maintainer. On a distribution outside Ubuntu 22.04 and above, you are on your own for adapter driver behaviour, which is where wireless tooling usually breaks first.
How this differs from wpa_supplicant and wpa_cli on Linux
The obvious alternative on Linux is wpa_supplicant with wpa_cli, which is the component most distributions already use to manage wireless connections. The difference in approach is fundamental. wpa_supplicant is a daemon that maintains a connection state machine and exposes a control interface; you drive it by issuing commands such as scan, scan_results, add_network, set_network and select_network, and you script the loop yourself. It has no notion of a password file, no logging directory convention, and no GUI.
wlan-sec-test-tool packages that loop into an application. It owns the scan, the association attempt, the iteration over passwords.txt, and the log output, and it presents the whole thing as a PySide6 window with a separate CLI entry point. The trade-off is control. With wpa_cli you decide the delay between attempts, you see the raw supplicant events, and you can integrate the results into whatever pipeline you already have. With this tool you get the maintainer's chosen flow and the delays you set in the interface.
If your work is scripted, reproducible, and needs to be embedded in an existing assessment pipeline, wpa_cli is the more honest instrument. If your work is a one-off check of your own router in a lab, and you would rather click than write a shell loop, the packaged GUI is the reason to pick this project over the daemon.
Maintenance, packaging, and what the MIT licence does and does not cover
The repository is not archived, and the last push was on 2026-06-03. The README carries a maintainer note dated 2026年02月08日, and the pyproject.toml declares version 1.3.1. The repository has no published GitHub releases, so distribution appears to be from source or from a local build. requirements.txt includes pyinstaller>=6.9.0, which suggests the intended packaging path for end users is a PyInstaller bundle rather than a published wheel, though the README does not document a build command.
Upgrade cost is low in one respect and non-trivial in another. The dependency list is short: PySide6, pyperclip, pyinstaller, plus pywifi on Windows and Linux. But the project depends on a fork of pywifi, linked from the README as baihengaead/pywifi, and the README does not pin a version for it. If that fork lags upstream pywifi, or if your distribution packages pywifi separately, you can end up with two copies and confusing import behaviour. Pin it deliberately in your environment.
The MIT licence is permissive and permits reuse and redistribution with the copyright notice and permission notice retained. The README adds a request on top of the licence: it states that any distribution which strips the original copyright information, the MIT licence, or the compliance disclaimer is a violation, and it asks that such redistribution be reported through the Issues page with a link. That request is a community norm expressed in prose, not a licence term, and it does not change what MIT allows. If you plan to redistribute or repackage this tool, read the LICENSE file in the repository and take your own advice on the disclaimer question; nothing here is legal advice.
Editorial conclusion
Adopt it if you run an authorised wireless assessment on hardware you own or have written permission to test, and you want a GUI plus a CLI entry point rather than a shell pipeline. Do not adopt it on a laptop with a single adapter if you need the multi-adapter concurrency mode, and do not expect it to crack anything: it only replays entries from the password file you supply. Before trusting a result, verify three things on your own machine: that pywifi can see your adapter and complete a scan, that ./passwords.txt uses one password per line, and that your scan and connect delay settings are long enough for your card to succeed, since the README treats those two timings as the first thing to calibrate.
Frequently asked questions
Does wlan-sec-test-tool work on Linux?
Yes, with a caveat from the README itself: Ubuntu 22.04 and above is listed as experimental, and other Linux systems with Python 3.11.x or newer are also marked experimental. Windows 10 and above and macOS 12 Monterey and above are listed without that label.
Where does wlan-sec-test-tool read the Wi-Fi password file from?
The default path is ./passwords.txt, with one password per line. There is also a JSON dictionary at ./dict/pwdict.json where each object pairs an ssid with a pwd.
What hardware does the multi-adapter mode in wlan-sec-test-tool need?
The README requires at least two wireless adapters on the PC, and both must be working. No fallback behaviour is documented for a machine with a single adapter.
Official sources
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.
[](https://hysenlabs.com/projects/baihengaead-wlan-sec-test-tool)Star history chart for your README
[](https://hysenlabs.com/projects/baihengaead-wlan-sec-test-tool)Was this useful?