We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4110b4 commit 57ad097Copy full SHA for 57ad097
wifite/model/handshake.py
@@ -20,6 +20,12 @@ def divine_bssid_and_essid(self):
20
Sets this instances 'bssid' and 'essid' instance fields.
21
'''
22
23
+ if self.bssid is None:
24
+ hs_regex = re.compile(r"^.*handshake_\w+_([0-9A-F\-]{17})_.*\.cap$", re.IGNORECASE)
25
+ match = hs_regex.match(self.capfile)
26
+ if match:
27
+ self.bssid = match.group(1).replace('-', ':')
28
+
29
# Get list of bssid/essid pairs from cap file
30
pairs = Tshark.bssid_essid_pairs(self.capfile, bssid=self.bssid)
31
0 commit comments