diff --git a/enrich.py b/enrich.py index eb8ca3e..e8078ce 100755 --- a/enrich.py +++ b/enrich.py @@ -331,7 +331,7 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel): if subtype not in (5, 8): # Probe Response or Beacon continue - ssid = getattr(packet.wlan.mgt, 'ssid', None).strip() + ssid = getattr(packet.wlan.mgt, 'ssid', None) bssid = getattr(wlan, 'bssid', '').lower() # For debugging purposes, print the SSID and BSSID