Windows CLI to audit saved WiFi profiles and export credentials with safe-by-default masking.
Who this is for:
- Windows users who want to review saved WiFi profiles on their own machine.
- Developers/admins who want quick, scriptable JSON exports.
- What It Does
- Requirements
- Installation
- Usage
- Security and Responsible Use
- Troubleshooting
- Development
- Upgrade Notes (v0.2.1)
- Roadmap
- Contributing
- License
- فارسی (خلاصه)
WirelessPassfinder is a WiFi profile auditor for Windows.
It reads WLAN profile data from your local machine using netsh and provides:
- Fast profile listing (
wpfinder list) - Detailed profile inspection (
wpfinder show) - JSON export for backup/automation (
wpfinder export) - Password masking by default (
********)
- Windows (v1 scope)
- Python 3.10+
pipx install git+https://github.com/Mohammadrce/WirelessPassfinder.gitgit clone git@github.com:Mohammadrce/WirelessPassfinder.git
cd WirelessPassfinder
python -m pip install -e .wpfinder --helpwpfinder list
wpfinder list --json
wpfinder list --filter Homewpfinder list --detailed
wpfinder list --detailed --jsonWarning: this prints sensitive credentials.
wpfinder list --detailed --show-keys
wpfinder show "HomeWiFi" --show-keyNotes:
--show-keysis valid forlistonly when--detailedis present.wpfinder list --show-keysreturns an explicit error by design.
wpfinder show "HomeWiFi"
wpfinder show "HomeWiFi" --jsonwpfinder export --output wifi_profiles.json
wpfinder export --output wifi_profiles_plain.json --show-keys- This tool only reads credentials already stored on your own Windows system.
- It does not crack, brute-force, decrypt, or attack networks.
- Use plaintext key flags only when necessary.
- Avoid sharing terminal output or exported files that contain real passwords.
The tool is Windows-only in v1. On non-Windows systems, it exits with a clear unsupported-platform error.
If Windows cannot run netsh, ensure networking tools are available on your system image and run from a normal Windows shell.
Some environments may require appropriate privileges to reveal plaintext key material (key=clear behavior in netsh).
netsh output can vary by system language. Parsing is optimized for common output formats and may need adjustments on non-English environments.
If global pytest plugins interfere with local test runs, use:
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytestpython -m pip install -e .[dev]
ruff check .
mypy src
pytestwpfinder listis fast-by-default and prints profile names only.- Use
wpfinder list --detailedfor auth/cipher/key/password fields. - For
list,--show-keysnow requires--detailed. - Legacy
python wifi.pyentry path was removed.
- Improve parsing reliability for more localized
netshoutputs - Optional executable distribution workflow
- Evaluate Linux/macOS support in a future major version
See CONTRIBUTING.md.
MIT - see LICENSE.
این ابزار یک CLI ویندوزی برای ممیزی پروفایلهای وایفای ذخیرهشده روی سیستم خودت است.
خروجی رمزها بهصورت پیشفرض ماسک میشود و فقط با فلگهای صریح نمایش داده میشود.
برای دیدن جزئیات کامل از --detailed و برای نمایش رمز واقعی با مسئولیت خودت از --show-key یا --show-keys استفاده کن.