Add debug print statement for management frame fields in analyze_pcap
This commit is contained in:
parent
d255618f0e
commit
33e6fb35c9
1 changed files with 2 additions and 0 deletions
|
@ -331,8 +331,10 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
|
|||
if subtype not in (5, 8): # Probe Response or Beacon
|
||||
continue
|
||||
|
||||
|
||||
try:
|
||||
mgt = packet.get_multiple_layers('wlan.mgt')[0]
|
||||
print(mgt._all_fields)
|
||||
ssid = mgt.get_field('ssid')
|
||||
if ssid is None:
|
||||
print("[DEBUG] SSID is None (explicitly)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue