Update public source

This commit is contained in:
2026-11-11 18:24:41 +03:00
parent d386e1593d
commit c8df4d72d1
+23 -2
View File
@@ -493,7 +493,22 @@ class CaptureParser:
# WPA*02*hash*APMAC*CLIENTMAC*ESSID*... hash_type = parts[1]
handshake_type = {
"01": "PMKID",
"02": "EAPOL"
}.get(hash_type)
if handshake_type is None:
self.log.warning(
"Unsupported WPA hash type: %s",
hash_type
)
continue
hash22000 = line hash22000 = line
ap_bssid = self.normalize_mac( ap_bssid = self.normalize_mac(
@@ -504,11 +519,17 @@ class CaptureParser:
parts[4] parts[4]
) )
if handshake_type == "EAPOL":
captured_at = self.find_handshake_time( captured_at = self.find_handshake_time(
ap_bssid, ap_bssid,
client_mac client_mac
) )
else:
captured_at = None
gps = self.gps_from_timestamp( gps = self.gps_from_timestamp(
captured_at captured_at
) )
@@ -565,7 +586,7 @@ class CaptureParser:
"type": "type":
"EAPOL", handshake_type,
"hash22000": "hash22000":