diff --git a/enrich.py b/enrich.py index 9ee41eb..f9efe8d 100755 --- a/enrich.py +++ b/enrich.py @@ -315,8 +315,9 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel): for packet in filtered_packets: try: + print(f"[DEBUG] Layers: {[layer.layer_name for layer in packet.layers]}") + if 'radiotap' not in packet or 'wlan' not in packet or 'wlan.mgt' not in packet: - print(f"[!] Packet does not contain required layers: {packet}") continue radio = packet.radiotap