Skip to content

Commit 1db952e

Browse files
authored
Merge pull request #452 from kimocoder/claude/fix-handshake-attack-I8oos
Fix 4-way handshake attack being skipped after PMKID capture
2 parents 6d31714 + 5661b01 commit 1db952e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wifite/attack/pmkid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ def run_hashcat(self):
242242
Color.pl('\n {O}[{R}!{O}] Note: PMKID attacks are not possible because you do not have {C}%s{O}.{W}'
243243
% Hashcat.dependency_name)
244244

245-
return True # Even if we don't crack it, capturing a PMKID is 'successful'
245+
return self.success # Only consider attack successful if cracking succeeded
246246

247247
def _handle_hashcat_failure(self, message):
248248
Color.pl(message)
249249
self.success = False
250-
return True
250+
return False
251251

252252
def run(self):
253253
# Start TUI view if available

0 commit comments

Comments
 (0)