We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d31714 + 5661b01 commit 1db952eCopy full SHA for 1db952e
wifite/attack/pmkid.py
@@ -242,12 +242,12 @@ def run_hashcat(self):
242
Color.pl('\n {O}[{R}!{O}] Note: PMKID attacks are not possible because you do not have {C}%s{O}.{W}'
243
% Hashcat.dependency_name)
244
245
- return True # Even if we don't crack it, capturing a PMKID is 'successful'
+ return self.success # Only consider attack successful if cracking succeeded
246
247
def _handle_hashcat_failure(self, message):
248
Color.pl(message)
249
self.success = False
250
- return True
+ return False
251
252
def run(self):
253
# Start TUI view if available
0 commit comments