Skip to content

Add targeted client deauthentication and station-aware authenticator - #1255

Merged
strasharo merged 1 commit into
masterfrom
feature/deauth-target-clients
Sep 18, 2026
Merged

strasharo merged 1 commit into
masterfrom
feature/deauth-target-clients

Conversation

@strasharo

@strasharo strasharo commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the ability to deauthenticate specific clients (rather than only broadcasting), and reworks the Captive Portal authenticator's client display to be driven by the AP station table for reliable, non-flapping output.

Deauthentication targeting

  • When deauthenticating, choose specific associated clients, all observed clients (directed), or broadcast the whole network.
  • aireplay-ng offers the broadcast option; mdk4 discovers and directly targets all live clients on the AP (no broadcast — it isn't capable of one).
  • Applied to both Captive Portal and Handshake Snooper, with matching client-scanner strings added across all language files.
  • The client scan cache is invalidated between attack rounds, so re-running an attack against the same target rescans instead of reusing a stale client list.

Captive Portal authenticator

  • CLIENTS ONLINE and CLIENTS WITHOUT IP are now derived from the AP station table (iw dev … station dump) joined with the Kea leases:
    • associated + active lease → online (IP, MAC, hostname, vendor)
    • associated + no lease → without IP (MAC, vendor)
  • Deterministic disconnect handling: cleanly disconnected clients drop on the next refresh; silently vanished clients clear on hostapd's inactivity timeout. No more ARP-cache flapping or lingering ghosts.
  • The whole frame is repainted each cycle so shrinking lists no longer leave stale rows behind.
  • airbase-ng failover: the soft-AP backend does not expose a station table, so on airbase-ng the online list is instead derived at generation time from active Kea leases gated by ARP liveness.

Networking

  • Switch the gateway from 192.169.254.1 (public address space) to 10.254.254.1, a proper RFC1918 range that avoids both common home LANs (192.168.0.0/16) and the WiFi Pineapple network (172.16.0.0/16).
  • Widen and deduplicate the DHCP pool through shared start/end constants.
  • Gate kea debug output on FLUXIONDebug and clear the DHCP log on start.

Other changes

  • Make cowpatty the first hash-verification option.
  • Append rather than truncate FLUXIONOutputDevice logs in the AP service libraries and WindowUtils.

Closes #329.

@strasharo strasharo self-assigned this Sep 18, 2026
Client selection when deauthenticating: pick specific associated
clients, all observed clients (directed), or broadcast the whole
network. aireplay-ng offers broadcast; mdk4 discovers and targets all
live clients on the AP directly. Applied to both Captive Portal and
Handshake Snooper, with matching client-scanner strings across all
language files.

Invalidate the client scan cache between attack rounds so re-running an
attack against the same target rescans instead of reusing a stale list.

Captive Portal authenticator now derives the online and without-IP
client lists from the AP station table joined with the Kea leases,
giving deterministic disconnect handling and stable, non-flapping
output. Repaint the whole frame each cycle so shrinking lists no longer
leave stale rows behind. On the airbase-ng backend, which does not
expose a station table, branch at generation time and derive online
clients from active Kea leases gated by ARP liveness instead.

Switch the gateway network from 192.169.254.1, which is public address
space, to 10.254.254.1, a proper RFC1918 range that avoids both common
home LANs (192.168.0.0/16) and the WiFi Pineapple network
(172.16.0.0/16).

Widen and deduplicate the DHCP pool through shared start/end constants,
gate kea debug output on FLUXIONDebug, and clear the DHCP log on start.
Make cowpatty the first hash verification option. Append rather than
truncate FLUXIONOutputDevice logs in the AP service libraries and
WindowUtils.
@strasharo
strasharo force-pushed the feature/deauth-target-clients branch from c97f295 to 8789daf Compare September 18, 2026 19:04
@strasharo
strasharo merged commit 9c91b1d into master Sep 18, 2026
2 checks passed
@strasharo
strasharo deleted the feature/deauth-target-clients branch September 18, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jam specific clients

1 participant