Add debug print statements for SSID to BSSID mappings in analyze_pcap

This commit is contained in:
Yaro Kasear 2025-04-16 10:18:34 -05:00
parent c4e36048e5
commit 7fbdcb310a

View file

@ -352,6 +352,9 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
except: except:
continue continue
print(f"[DEBUG] SSID to BSSIDs: {ssid_to_bssids}")
print(f"[DEBUG] BSSID to SSID: {bssid_to_ssid}")
clients_on_ap = get_clients_on_ap(filtered_packets, ap_bssid) clients_on_ap = get_clients_on_ap(filtered_packets, ap_bssid)
clients_on_channel = get_clients_on_channel(filtered_packets, ap_channel, ap_bssid) clients_on_channel = get_clients_on_channel(filtered_packets, ap_channel, ap_bssid)
aps_on_channel = get_aps_on_channel(filtered_packets, ap_channel) aps_on_channel = get_aps_on_channel(filtered_packets, ap_channel)