Skip to content

Leadrogue/Wiflux

Repository files navigation

Wiflux

Modern wireless security auditor with a live terminal UI, smart attack orchestration, and built-in dependency management.

██╗    ██╗██╗███████╗██╗     ██╗   ██╗██╗  ██╗
██║    ██║██║██╔════╝██║     ██║   ██║╚██╗██╔╝
██║ █╗ ██║██║█████╗  ██║     ██║   ██║ ╚███╔╝
██║███╗██║██║██╔══╝  ██║     ██║   ██║ ██╔██╗
╚███╔███╔╝██║██║     ███████╗╚██████╔╝██╔╝ ██╗
 ╚══╝╚══╝ ╚═╝╚═╝     ╚══════╝ ╚═════╝ ╚═╝  ╚═╝

For authorized security testing only. Only use Wiflux on networks you own or have explicit permission to audit.

Python 3.10+ License: MIT Release

Wiflux welcome screen


Features

  • Live Rich UI — Real-time scan table with ESSID, BSSID, GHz, channel, encryption, WPS, clients, and priority scoring
  • Matrix welcome + dependency check — Splash, then tools/rockyou verification with optional apt install and auto-unpack of rockyou.txt.gz
  • Scan pauseSpace freezes the live table for copy; Space resumes
  • ESSID-smart wordlist — Targeted candidates from network name + vendor before rockyou (preview, up to 100k)
  • Crack ladder — ESSID-smart → vendor defaults → full dictionary → hashcat rules (fastest-to-longest); Space skips a pass (--no-crack-ladder)
  • Hashcat GPU/CPU control — Auto-prefer GPU when available; --gpu, --cpu-only, --hashcat-devices
  • Durable crack checkpoints — Resume hashcat after restart under wiflux-data/crack_checkpoints/
  • Adaptive deauth — Handshake capture tunes burst/listen timing from live capture health (--no-adaptive-deauth)
  • Multi-backend deauth — mdk4, aireplay-ng, bettercap, mdk3 (--deauth-tools, --deauth-combo)
  • PMKID enhancements — Passive-first capture, dual-band rotation, success screen before cracking
  • WPS enhancements — Algorithmic PIN pre-pass, offline pixiewps from scan caps
  • WPA2/WPA3 transition — Prefer WPA2 capture/crack on mixed-mode APs (--no-transition-downgrade)
  • 2.4 / 5 / 6 GHz scanning — Exclusive high-band with --5ghz / --6ghz; add -2 to combine
  • Client band-stalk — Post-deauth listen on sibling bands for roaming stations
  • Handshake validation — Full capture check with on-screen confirm before hashcat
  • Hidden SSID decloak — Deauth probe to reveal cloaked ESSIDs during scan
  • SQLite results store — Track cracked networks; skip by default (--no-ignore-cracked to re-attack)
  • 116 automated tests — No live radio required for CI

Supported attacks

Attack Tools Notes
WEP aireplay-ng, aircrack-ng ARP replay with configurable timeout
WPS Pixie-Dust reaver / bully, pixiewps Offline pixie from scan caps when available
WPS PIN reaver / bully Algorithmic MAC/vendor PINs first
PMKID hcxdumptool, hcxpcapngtool Clientless; passive ratio + band rotation
WPA handshake Multi deauth backends, hashcat Adaptive timing, band-stalk, validation UI

Quick start

Install from release (recommended)

Download v1.0.5:

curl -LO https://github.com/Leadrogue/Wiflux/releases/download/v1.0.5/wiflux-1.0.5-linux-installer.tar.gz
tar -xzf wiflux-1.0.5-linux-installer.tar.gz
cd wiflux-1.0.5-linux-installer
./install.sh

Or install directly with pip:

pip install https://github.com/Leadrogue/Wiflux/releases/download/v1.0.5/wiflux-1.0.5-py3-none-any.whl --break-system-packages

Install from source

git clone https://github.com/Leadrogue/Wiflux.git
cd Wiflux
pip install -e . --break-system-packages

Run

On Kali/Debian, sudo may not include /usr/local/bin in PATH:

sudo env PATH="/usr/local/bin:$PATH" wiflux --kill --restore   # Interactive audit
sudo env PATH="/usr/local/bin:$PATH" wiflux --auto -p 30       # Auto-attack after 30s scan

See INSTALL.md, docs/RELEASE.md, and docs/TUTORIAL.md.


Documentation

Document Description
INSTALL.md Requirements, adapter setup, wordlists, troubleshooting
CHANGELOG.md Version history and release notes
docs/RELEASE.md Download and verify release artifacts
docs/TUTORIAL.md Step-by-step walkthrough
CONTRIBUTING.md Development setup and tests

Usage examples

wiflux --help                    # Grouped, colorized CLI reference

# 5 GHz + auto-attack
sudo wiflux --5ghz --auto -p 45

# 6 GHz scan (Wi-Fi 6E adapter required)
sudo wiflux --6ghz --auto -c 37,53

# Target one network; re-attack even if already cracked
sudo wiflux --no-ignore-cracked -b AA:BB:CC:DD:EE:FF

# Fresh handshake; ignore saved caps in hs/
sudo wiflux --new-hs -b AA:BB:CC:DD:EE:FF

# PMKID only
sudo wiflux --pmkid --auto -p 60

# Capture only
sudo wiflux --skip-crack --auto -p 30

# Utilities (no sudo)
wiflux --cracked
wiflux --check capture.cap
wiflux --export results.json

Key options (v1.0.5)

Flag Description
-i INTERFACE Wireless interface (e.g. wlan0mon)
--kill / --restore Kill interfering processes / restore managed mode
-p SECONDS Auto-attack after N seconds of scanning
--auto Non-interactive mode
-5 / --5ghz 5 GHz only (add -2 for dual-band)
--6ghz 6 GHz only (add -2/-5 to combine)
-c CH Channel list (1,6,11 or ch36,ch40)
--gpu / --cpu-only Hashcat GPU or CPU only (default: auto GPU)
--hashcat-devices IDS Hashcat -d device list
--no-ignore-cracked Show networks already in crack database
--new-hs Ignore saved handshakes; force live capture
--no-transition-downgrade Do not prefer WPA2 on WPA2+WPA3 APs
--no-crack-ladder Skip vendor/rules stages before full dictionary
--no-algorithmic-wps Skip MAC/vendor WPS PIN pre-pass
--no-offline-pixie Skip offline pixiewps from scan caps
--no-client-band-stalk Disable post-deauth band-hop listen
--no-pmkid-band-rotate Disable PMKID dual-band rotation
--pmkid-passive-ratio PMKID passive capture fraction (0.2–0.75)
--deauth-burst / --deauth-listen Baseline deauth packets / listen window (default 5 / 8)
--deauth-tools Comma-separated deauth backends
--dict FILE Custom wordlist
--no-splash Skip Matrix welcome screen

Development

cd Wiflux
pip install -e ".[dev]" --break-system-packages
python -m pytest tests/test_wiflux.py -q

Requirements


Credits

Thanks to Murlocdouche for:

  • Suggesting the scan-table GHz column (band at a glance between BSSID and CH)
  • Identifying that hashcat could not be steered to the GPU for cracking (now fixed with auto GPU preference and --gpu / --cpu-only / --hashcat-devices)

Legal disclaimer

This tool is provided for educational and authorized penetration testing purposes only. Unauthorized access to computer networks is illegal. The authors and contributors are not responsible for misuse of this software.


License

MIT License — Copyright (c) 2026 Wiflux Contributors

About

Modern wireless security auditor with live Rich UI and smart attack orchestration

Resources

License

Contributing

Stars

310 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors