Use All4 instead of LanMan

... Which was the original behavior. A full incremental LanMan can take
many hours instead of the few seconds this module was intended to run.
bug/bundler_fix
James Lee 2014-07-21 18:24:35 -05:00
parent a2a75ffb03
commit 917d2c718b
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ class Metasploit3 < Msf::Auxiliary
def run
cracker = new_john_cracker
#generate our wordlist and close the file handle
# generate our wordlist and close the file handle
wordlist = wordlist_file
wordlist.close
print_status "Wordlist file written out to #{wordlist.path}"
@ -53,10 +53,10 @@ class Metasploit3 < Msf::Auxiliary
end
if format == 'lm'
print_status "Cracking #{format} hashes in incremental mode (LanMan)..."
print_status "Cracking #{format} hashes in incremental mode (All4)..."
cracker_instance.rules = nil
cracker_instance.wordlist = nil
cracker_instance.incremental = 'LanMan'
cracker_instance.incremental = 'All4'
cracker_instance.crack do |line|
print_status line.chomp
end