Skip to main content

Cross-platform CLI to dump saved WiFi credentials from Linux, Windows, and macOS

Project description

ExploitCraft ยท Bangladesh ยท Building tools that matter ๐Ÿ“„ Full documentation at doc.emonpersonal.xyz


๐Ÿ“ก wifi-passview

Cross-platform CLI to dump all saved WiFi credentials in one command โ€” Linux, Windows, and macOS.

CI PyPI Python License: MIT


Features

  • ๐Ÿง Linux โ€” reads NetworkManager, wpa_supplicant, and iwd configs
  • ๐ŸชŸ Windows โ€” uses netsh wlan to extract all profiles and passwords
  • ๐ŸŽ macOS โ€” queries Keychain via security find-generic-password
  • ๐Ÿ“Š Multiple output formats โ€” terminal (Rich), JSON, CSV
  • ๐Ÿ”’ Redact mode โ€” partially mask passwords in output (my***23)
  • ๐Ÿ” Search โ€” filter profiles by SSID name

Installation

pip install wifi-passview

Or from source:

git clone https://github.com/ExploitCraft/wifi-passview
cd wifi-passview
pip install -e .

Linux note: Reading NetworkManager configs in /etc/NetworkManager/system-connections/ requires root. Run with sudo for full results.


Quick Start

# Dump all saved WiFi profiles
wifi-passview dump

# Redact passwords in output (safe for screenshots)
wifi-passview dump --redact

# Hide passwords entirely
wifi-passview dump --no-password

# Export to JSON
wifi-passview dump --format json --output wifi.json

# Export to CSV
wifi-passview dump --format csv --output wifi.csv

# Search for a specific network
wifi-passview search "HomeNetwork"

Example Output

โ•ญโ”€ wifi-passview โ€” saved WiFi credential dumper โ”€โ•ฎ

SSID                  PASSWORD           AUTH       BAND    AUTO
CoffeeShopWifi        latteplease        WPA-PSK    โ€”       yes
HomeNetwork           (none / open)      โ€”          2.4GHz  yes
OfficeWifi5G          Su93r$ecret!       WPA2-PSK   5GHz    yes
GuestNetwork          abc123             WPA-PSK    โ€”       no

โ•ญโ”€ Summary โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
  Platform        linux
  Total profiles  4
  With password   3
  Without pass    1
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Platform Notes

Linux

Reads from (in order):

  1. /etc/NetworkManager/system-connections/ โ€” requires sudo
  2. /etc/wpa_supplicant/wpa_supplicant.conf
  3. /var/lib/iwd/*.psk
  4. nmcli fallback (SSID list only, no passwords)

Windows

Uses netsh wlan show profiles + netsh wlan show profile name=X key=clear. No admin required for saved profiles in the current user context.

macOS

Uses networksetup -listpreferredwirelessnetworks + security find-generic-password. May prompt for Keychain access on first run.


CLI Reference

Usage: wifi-passview [OPTIONS] COMMAND [ARGS]...

Commands:
  dump    Dump all saved WiFi profiles and passwords
  search  Search saved profiles by SSID name

Options for dump:
  --format     terminal | json | csv   (default: terminal)
  --output     Write output to file
  --redact     Partially mask passwords
  --no-password  Hide passwords entirely
  --ssid       Filter to a specific SSID (partial match)

Part of the LeakHound Ecosystem

wifi-passview is part of LeakHound โ€” a unified secret hunting toolkit.

Tool Description
envleaks Codebase & git history secret scanner
gitdork Google/Shodan dork generator
wifi-passview Cross-platform WiFi credential dumper (this repo)
leakhound Unified CLI wrapping all three

Disclaimer

This tool is intended for use on your own systems only. Only dump credentials from devices you own or have explicit permission to audit. The author is not responsible for misuse.


License

MIT ยฉ ExploitCraft


ExploitCraft ยท Bangladesh ยท Building tools that matter ๐Ÿ“„ Full documentation at doc.emonpersonal.xyz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wifi_passview-1.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wifi_passview-1.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file wifi_passview-1.1.0.tar.gz.

File metadata

  • Download URL: wifi_passview-1.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wifi_passview-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3c5cec2f02ae046311fbc48434600fd7680f823fff349993608991f04fcebcc5
MD5 b41dec3657591adc8ca4772b45bc4c63
BLAKE2b-256 fa9d86babfd0e05367d6fbfe1b17fcd502a738665b51f941e443704cf336d098

See more details on using hashes here.

File details

Details for the file wifi_passview-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: wifi_passview-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wifi_passview-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0209f2ae3d5a913c1cfd03557df094a2724b804a7b4bfeb4669ae692c24b1a76
MD5 c1430ea38f4ee0cc1ab7656446157d04
BLAKE2b-256 7fe78ac0a8d85400bc96b36cbf8b50511f428dd14f14a836e20e17f996a52223

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page