See every band. Understand every protection. Prove whether your Wi-Fi holds up.
β¨ Features Β· π¦ Install Β· π Quick Start Β· π₯οΈ Interfaces Β· π Verdicts Β· πΆ Adapters Β· βοΈ Config
Important
π‘οΈ Authorized use only. JamFi is built for networks you own or have explicit written permission to test. Active tests are allowlist-scoped, require explicit confirmation, and enforce hard time & packet budgets.
JamFi has evolved from a single-file aireplay-ng wrapper into a complete wireless reconnaissance and deauthentication-resilience platform. Instead of blindly flooding channels, JamFi discovers APs and clients across 2.4 / 5 / 6 GHz, parses 802.11w Protected Management Frames (PMF), schedules radios intelligently, measures real disconnect β reconnect latency & 4-way handshakes, and generates actionable audit reports.
π View the retro terminal banner
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β βββββββββ ββ ββββββββ βββββββββ β
β βββ βββ βββ βββ βββ βββ βββ β
β βββ ββ ββββ βββ βββ βββ ββ β
β βββββββ ββββ βββ βββ βββββββ β
βββββββββ ββββ ββββββββββββ ββββββββ β
β βββ ββ βββ βββ βββ βββ ββ β
β βββ βββ βββ βββ βββ βββ βββ β
β ββββββββββ ββ βββ ββ ββββββββββ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β JamFi v2.0 β Wi-Fi Recon & Resilience Suite β
β by @mrdineshpathro Β· authorized auditing only β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Capability | π°οΈ v1.0 | β‘ v2.0 |
|---|---|---|
| AP & client discovery | β Parsed wrong CSV block (returned 0 APs) | β Full AP + station tables, hidden SSIDs & commas |
| Frequency bands | β
2.4 / 5 / 6 GHz with iw phy + netxml disambiguation |
|
| Multi-target radio control | β Processes fought over 1 NIC channel | β Weighted channel-dwell scheduler + multi-adapter split |
| 802.11w / WPA3 awareness | β None | β Live RSN IE parsing: PMF Required / Capable / Disabled |
| Test outcome | β Blind infinite packet flood | β Reconnect latency + π 4-way handshake proof + early stop |
| Injection engines | aireplay-ng only |
aireplay-ng + native Scapy radiotap + mock |
| Interfaces | Plain text prompts | π» Rich live CLI Β· π§ Textual TUI Β· π Web dashboard |
| Reports | Timestamp + 'Broadcast' CSV line |
π HTML / Markdown / JSON / CSV + JSONL/SQLite + webhooks |
| Safety guardrails | auto_select_all / 'all' |
π Allowlist-first, hard denylists, confirmation & budgets |
| Try without hardware | β Required root + Wi-Fi NIC | β
Full --mock lab anywhere (macOS / Windows / Linux / CI) |
| π°οΈ Multi-Band Recon Discover APs across 2.4, 5 & 6 GHz, group mesh/dual-band BSSIDs, map associated stations & probe histories, and inspect channel congestion. |
π‘οΈ 802.11w PMF Intelligence Pure-Python RSN/WPA/WPS parser detects MFPC/MFPR, WPA3-SAE, OWE, transition mode, TKIP, WEP, Open & WPS β live from real beacons. |
| π§ Adaptive Radio Engine Group targets by channel, set frequency once per hop, weight dwell by client/data activity, split bands across USB adapters & auto-recover drops. |
π― Proof, Not Guesswork Broadcast or bidirectional client-targeted deauth/disassoc; measure time-to-reconnect, validate EAPOL M1βM4, and stop early once verdicts settle. |
| π OUI Vendor Lookup Built-in vendor database (Ubiquiti, TP-Link, Apple, Espressif & more) + IEEE oui.txt / Wireshark manuf loader + π² randomized-MAC flagging. |
π Live Web Dashboard FastAPI + WebSockets with zero external CDNs: scope chips, sparklines, SVG congestion chart, station drawer & 1-click report downloads. |
| π Board-Ready Reports Self-contained HTML (sortable & printable), Markdown, JSON & CSV with severity-ranked findings, concrete remediations & XSS-safe escaping. |
π Allowlist-First Safety Explicit BSSID/ESSID allowlists, unoverrideable denylists, typed YES / AUTHORIZE confirmation & hard duration/packet ceilings. |
Tip
π‘ Why resilience auditing beats "more jamming": WPA3 and 802.11w PMF-required networks ignore unauthenticated deauth frames. JamFi tells you which networks and clients are actually protected β and why the others aren't.
sudo apt-get update
sudo apt-get install -y aircrack-ng iw wireless-tools python3-venv python3-pipgit clone https://github.com/mrdineshpathro/JamFi.git
cd JamFi
python3 -m venv .venv
source .venv/bin/activate
# π» Core: CLI + Rich live UI + Scapy engine
pip install -e .
# π Everything: adds Web Dashboard + fullscreen Textual TUI
pip install -e ".[all]"
# βοΈ Optional: generate jamfi.toml with ready-made profiles
jamfi initπ Optional: run sudo jamfi from anywhere
sudo ln -sf "$PWD/.venv/bin/jamfi" /usr/local/bin/jamfiEvery command supports --mock mode: no root, no aircrack-ng, no adapter required. Perfect for demos, learning & CI.
# π©Ί Preflight diagnostics
jamfi --mock check
# π°οΈ Live-style AP + station tables with vendors, sparklines & PMF badges
jamfi --mock scan --clients
# π§ Fullscreen keyboard TUI
jamfi --mock scan --tui
# π― Allowlist-scoped resilience test + self-contained HTML report
jamfi --mock audit --allow-essid 'HomeLab-*' --allow-essid 'Office*' -y --report html
# π Interactive Web Dashboard demo (anonymous access works ONLY with --mock)
jamfi --mock web --host 0.0.0.0 --port 8765 --allow-anonymous-mockπ§ͺ What you'll see in the built-in mock lab:
| π― Target | π Configuration | π Result | π‘ Why |
|---|---|---|---|
HomeLab-2G |
WPA2 Β· PMF Capable | π‘ Partially Protected π | Legacy client drops & exposes a 4-way handshake; PMF client stays up |
Office, Floor 2 |
WPA2/WPA3 transition Β· WPS | π΄ Vulnerable π | Non-PMF Espressif IoT client is forced to reconnect |
HomeLab-5G & HomeLab-6E |
WPA3 Β· PMF Required | π’ Protected | Spoofed deauth frames are ignored as designed |
sudo jamfi
# Backward-compatible launcher also works:
sudo python3 JamFi.pysudo jamfi check
sudo jamfi check --inject-test wlan0mon # verify packet injection via aireplay-ng --test# Scan all bands for 20s, show stations, save JSON inventory
sudo jamfi scan -i wlan0 --band all --duration 20 --clients -o scan.json
# Live Rich table β enriches PMF from real beacons via Scapy
sudo jamfi scan -i wlan0 --live --duration 30
# Fullscreen TUI explorer
sudo jamfi scan -i wlan0 --tui
# Offline filtering of saved airodump CSV / JSON
jamfi scan --from-file scan_results-01.csv --band 5 --min-signal -75 --security pmf-missing# Single AP by BSSID (prompts for YES interactively; -y for scripts)
sudo jamfi audit -i wlan0 --allow-bssid 70:A7:41:12:34:56 --duration 60 --report html
# Dual-adapter band splitting β wlan0 & wlan1 never fight over channels
sudo jamfi audit -i wlan0 -i wlan1 --allow-essid 'HomeLab-*' --backend scapy --report html
# Target one station + save scope-filtered PCAP & validate 4-way handshakes
sudo jamfi audit -i wlan0 --allow-bssid 70:A7:41:12:34:56 \
--client F0:18:98:10:20:30 --handshake-capture --report markdown
# Dry-run: evaluate scan + scope policy without touching radios
jamfi --mock audit --from-scan scan.json --allow-essid 'HomeLab-*' -y --dry-runWarning
π΄ Interfering network services: NetworkManager / wpa_supplicant can reset channels mid-capture. Pass --kill-interfering only if you accept losing managed Wi-Fi during the session. JamFi always restores monitor VIFs on exit; restart networking afterward with sudo systemctl start NetworkManager.
jamfi sessions
jamfi report sessions/audit-YYYYMMDDTHHMMSSZ-xxxxxx.jsonl --format html -o report.html
jamfi report scan.json --format csv -o inventory.csvColor-coded security & PMF badges Β· dBm bar meters + βββββ
βββ signal sparklines Β· live adapter telemetry Β· real-time event feed Β· JSON/CSV stdout modes for scripting.
| β¨οΈ Key | β¨ Action |
|---|---|
β / β |
Navigate discovered access points |
Space |
β/β Toggle highlighted BSSID in allowlist scope |
Enter |
π₯ Inspect associated clients in the side pane |
/ |
π Focus filter box (ESSID / BSSID / vendor) |
Esc |
β©οΈ Jump back from filter to the AP table |
s |
π Cycle sort: Signal β Clients β Channel β ESSID |
a |
audit --tui) |
r |
π Re-scan (in scan --tui) |
q |
πͺ Quit β stops audit & restores Wi-Fi |
sudo jamfi web # π 127.0.0.1:8765 + random per-launch token
sudo jamfi web --host 0.0.0.0 --port 8765- π Token-gated by default: open
http://<host>:8765/?token=<TOKEN>or paste the token into the unlock screen.--allow-anonymous-mockis honored only in--mockmode. - π‘οΈ Server-enforced arming: requires allowlisted targets + authorization checkbox + typed
AUTHORIZE, with hard server caps (β€ 3600s,β€ 100,000pkts/target). - π Proxy & container friendly: relative
/api/*&/wsURLs β no hardcodedlocalhost, no iframe-blocking headers.
| π¦ Verdict | π§ What it means | π οΈ Recommended fix |
|---|---|---|
| π΄ Vulnerable | Spoofed management frames forced client reconnects (and may have exposed a 4-way handshake). | Enable 802.11w PMF = Required + WPA3; upgrade or isolate legacy clients. |
| π‘ Partially Protected | PMF Capable / transition mode: PMF clients stayed connected, but non-PMF clients dropped. | Switch PMF from Capable to Required; segment legacy IoT onto a dedicated VLAN. |
| π’ Protected | PMF Required (WPA3 / OWE / 802.11w): unauthenticated deauth frames were ignored. | Keep PMF Required on; prefer WPA3-only over transition mode. |
| π£ Inconclusive | No associated clients, unknown channel, or no reconnect without confirmed PMF. | Test closer to the AP with active clients; verify --inject-test. |
| βͺ N/A (Open/OWE) | No WPA authentication exchange exists to protect. | Encrypt open networks (WPA2/WPA3 or OWE) + enable client isolation. |
π΅οΈ Passive findings also catch: π¨ WEP (critical) Β· π Open Wi-Fi Β·
jamfi.toml takes precedence over legacy config.ini. Run jamfi init to generate the full commented template.
[scan]
duration = 15
band = "all" # all | 2.4 | 5 | 6
sort_by = "power" # power | clients | channel | essid
[audit]
backend = "scapy" # aireplay | scapy | mock
frame_type = "deauth" # deauth | disassoc
burst_packets = 32
dwell_ms = 350
max_duration = 60 # β±οΈ hard ceiling (seconds) β never infinite
max_packets_per_target = 2000
handshake_capture = false
[safety]
allow_bssids = ["70:A7:41:12:34:56"]
deny_bssids = ["AA:BB:CC:00:00:99"] # π« hard block β never overridden
[profiles.lab-resilience]
[profiles.lab-resilience.audit]
burst_packets = 16
dwell_ms = 250
max_duration = 30# ποΈ Use a named profile
sudo jamfi --profile lab-resilience audit -i wlan0 -y --report html
# π Fire JSON webhooks on handshake capture & session completion
sudo jamfi audit ... --webhook https://your-endpoint.example/hookTip
π·οΈ Set oui_file = "/usr/share/wireshark/manuf" (or an IEEE oui.txt) in jamfi.toml for full vendor resolution beyond the built-in database.
Built-in laptop Wi-Fi often blocks raw injection in firmware. For reliable Linux auditing, use a supported external adapter:
| β | π§© Chipset | π‘ Example Adapters | π Bands | π§ Linux Driver | π Notes |
|---|---|---|---|---|---|
| π₯ | MediaTek MT7921AU | Alfa AWUS036AXML | 2.4 / 5 / 6 GHz | In-kernel mt76 (mt7921u) |
Best modern pick for Wi-Fi 6E recon (kernel β₯ 6.x recommended) |
| π₯ | MediaTek MT7612U | Alfa AWUS036ACM | 2.4 / 5 GHz | In-kernel mt76 (mt76x2u) |
Excellent monitor + injection out of the box on Kali/Ubuntu |
| π | Atheros AR9271 | Alfa AWUS036NHA Β· TL-WN722N v1 | 2.4 GHz | In-kernel ath9k_htc |
Rock-solid 2.4 GHz; no 5 GHz |
Intel iwlwifi |
AX200 / AX210 / BE200 (built-in) | 2.4 / 5 / 6 GHz | In-kernel iwlwifi |
Monitor works; injection varies by firmware β test first | |
| π§ | Realtek RTL8812AU/AC | Various AC1200 dongles | 2.4 / 5 GHz | Out-of-tree DKMS (88XXau) |
Needs DKMS driver; VIF renames handled by JamFi's iw dev diff |
| π« | RPi onboard brcmfmac |
Raspberry Pi 3/4/5 built-in | 2.4 / 5 GHz | brcmfmac |
Stock firmware lacks injection β use a USB MT76 adapter |
ποΈ Project Architecture
jamfi/
βββ cli.py # π₯οΈ Typer CLI: wizard, check, scan, audit, report, sessions, web, init
βββ config.py # βοΈ jamfi.toml + profiles + legacy config.ini loader + validation
βββ system/ # π§ Linux integration
β βββ privileges.py # root / CAP_NET_ADMIN + CAP_NET_RAW checks
β βββ interfaces.py # iw dev / iw phy / iwconfig parsing, driver & band detection
β βββ monitor.py # MonitorSession (VIF diff, guaranteed restore, set_channel)
β βββ preflight.py # Binary/driver/conflict/injection diagnostics
β βββ process.py # Process-group isolation & bounded teardown
βββ capture/ # π°οΈ Discovery & dissection
β βββ models.py # AccessPoint, Client, SecurityProfile, ScanSnapshot
β βββ airodump.py # Multi-band runner + CSV & Kismet netxml parser
β βββ rsn.py # Pure-Python RSN/WPA/WPS IE & MFPC/MFPR parser
β βββ oui.py # Offline vendor DB + IEEE oui.txt / manuf + randomized MACs
β βββ sniffer.py # Scapy LiveObserver: beacons, clients, EAPOL M1βM4
β βββ mock.py # Hardware-free scanner & 802.11w radio simulator
βββ engine/ # π§ Smart radio & verification
β βββ scheduler.py # Adaptive per-adapter channel-dwell scheduler
β βββ actions.py # AireplayBackend, ScapyBackend (radiotap), MockBackend
β βββ verify.py # Reconnect latency & resilience verdict classification
β βββ session.py # AuditSession: multi-adapter split, recovery, early stop
βββ safety/policy.py # π Allowlist/denylist ScopePolicy, AuditBudget, confirmation
βββ ui/ # π¨ Terminal interfaces
β βββ live.py # Rich tables, sparklines, badges, live audit dashboard
β βββ tui.py # Fullscreen Textual keyboard TUI
βββ reporting/ # π Persistence & deliverables
β βββ store.py # JSONL + SQLite session store + hooks/webhooks
β βββ report.py # Findings engine + HTML / Markdown / JSON / CSV reports
βββ web/ # π Live browser console
βββ app.py # FastAPI REST + WebSocket API, token auth, broadcaster
βββ static/ # Offline HTML/CSS/JS dashboard (zero CDNs)
The entire suite runs without root, Wi-Fi hardware, or aircrack-ng:
pip install -e ".[all,dev]"
pytest -q # β
75 hardware-free tests
ruff check jamfi tests JamFi.py # π Lint
ruff format --check jamfi tests JamFi.py # π¨ Format check
mypy jamfi # 𧬠Static types (0 issues across 32 files)π€ GitHub Actions CI runs lint, format, mypy, pytest, and a mock CLI + HTML report smoke test across Python 3.10, 3.11, 3.12 & 3.13. See ROADMAP.md for milestone mapping.
Warning
JamFi is provided exclusively for education, lab experimentation, and authorized wireless security assessments. Transmitting deauthentication frames against third-party networks disrupts communications and may be illegal in your jurisdiction. Never bypass JamFi's allowlist, denylist, confirmation, or budget controls to target networks outside your authorization. The author assumes no liability for misuse.
Crafted with β‘ by mrdineshpathro
β If JamFi helps your lab or security practice, star the repo on GitHub!