Skip to content

Commit f691d81

Browse files
H4k1lmsutovsky-r7
andauthored
prefer john over hashcat for more compatibility
Co-authored-by: msutovsky-r7 <[email protected]>
1 parent 3e47e4a commit f691d81

File tree

1 file changed

+1
-1
lines changed
  • lib/metasploit/framework/password_crackers

1 file changed

+1
-1
lines changed

lib/metasploit/framework/password_crackers/cracker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def binary_path
310310
when 'john'
311311
path = get_john
312312
when 'auto'
313-
path = get_hashcat || get_john
313+
path = get_john || get_hashcat
314314
else
315315
raise PasswordCrackerNotFoundError, 'No suitable Cracker was selected, so a binary could not be found on the system JOHN || HASHCAT'
316316
end

0 commit comments

Comments
 (0)