Update public source

This commit is contained in:
2026-11-11 18:24:41 +03:00
parent d386e1593d
commit c8df4d72d1
+27 -6
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
ap_bssid = self.normalize_mac(
@@ -504,10 +519,16 @@ class CaptureParser:
parts[4]
)
captured_at = self.find_handshake_time(
ap_bssid,
client_mac
)
if handshake_type == "EAPOL":
captured_at = self.find_handshake_time(
ap_bssid,
client_mac
)
else:
captured_at = None
gps = self.gps_from_timestamp(
captured_at
@@ -565,7 +586,7 @@ class CaptureParser:
"type":
"EAPOL",
handshake_type,
"hash22000":