We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377948d commit 4e4980eCopy full SHA for 4e4980e
wifite/model/handshake.py
@@ -65,7 +65,12 @@ def has_handshake(self):
65
if not self.bssid or not self.essid:
66
self.divine_bssid_and_essid()
67
68
- return len(self.tshark_handshakes()) > 0
+ # Check if ANY validator detects a handshake
69
+ # Tshark is strict (requires all 4 messages), but cowpatty/aircrack
70
+ # can work with just messages 2&3, which is sufficient for cracking
71
+ return (len(self.tshark_handshakes()) > 0 or
72
+ len(self.cowpatty_handshakes()) > 0 or
73
+ len(self.aircrack_handshakes()) > 0)
74
75
def tshark_handshakes(self):
76
"""Returns list[tuple] of BSSID & ESSID pairs (ESSIDs are always `None`)."""
0 commit comments