We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6ab0e5 commit 31bf199Copy full SHA for 31bf199
wifite/model/handshake.py
@@ -60,7 +60,6 @@ def divine_bssid_and_essid(self):
60
Color.pl('\n{+} Discovered essid "{C}%s{W}"' % essid)
61
self.essid = essid
62
break
63
-
64
def has_handshake(self):
65
if not self.bssid or not self.essid:
66
self.divine_bssid_and_essid()
@@ -72,12 +71,7 @@ def has_handshake(self):
72
71
return True
73
74
# cowpatty can be reliable for 2&3 captures
75
- if len(self.cowpatty_handshakes()) > 0:
76
- return True
77
78
- # Do NOT treat aircrack-only as valid (aircrack is informative but not definitive)
79
- return False
80
+ return len(self.cowpatty_handshakes()) > 0
81
82
def tshark_handshakes(self):
83
"""Returns list[tuple] of BSSID & ESSID pairs (ESSIDs are always `None`)."""
0 commit comments