Fix analyze_pcap to handle SSID extraction without stripping whitespace
This commit is contained in:
parent
412d8762a5
commit
5af62780ef
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue