mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix WiFi client updates, rogue AP detection, and channel recommendation
Backend: - Send client updates when probes or signal change significantly - Previously only new clients were reported, updates were ignored Frontend: - Add client cards to device list (was only showing networks) - Fix rogue AP detection to check OUI - excludes legitimate mesh systems - Improve channel recommendation with detailed usage breakdown - Show per-channel interference counts for 2.4GHz - Show unused channel count for 5GHz Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -359,6 +359,20 @@ def stream_airodump_output(process, csv_path):
|
||||
'action': 'new',
|
||||
**client
|
||||
})
|
||||
else:
|
||||
# Send update if probes changed or signal changed significantly
|
||||
old_client = app_module.wifi_clients[mac]
|
||||
old_probes = old_client.get('probes', '')
|
||||
new_probes = client.get('probes', '')
|
||||
old_power = int(old_client.get('power', -100) or -100)
|
||||
new_power = int(client.get('power', -100) or -100)
|
||||
|
||||
if new_probes != old_probes or abs(new_power - old_power) >= 5:
|
||||
app_module.wifi_queue.put({
|
||||
'type': 'client',
|
||||
'action': 'update',
|
||||
**client
|
||||
})
|
||||
|
||||
app_module.wifi_networks = networks
|
||||
app_module.wifi_clients = clients
|
||||
|
||||
Reference in New Issue
Block a user