Don't ignore the Wordlist option

bug/bundler_fix
James Lee 2013-10-15 15:31:03 -05:00
parent 676f12e50e
commit 96deda5499
1 changed files with 7 additions and 4 deletions

View File

@ -15,8 +15,8 @@ class Metasploit3 < Msf::Auxiliary
def initialize
super(
'Name' => 'John the Ripper Password Cracker (Fast Mode)',
'Description' => %Q{
'Name' => 'John the Ripper Password Cracker (Fast Mode)',
'Description' => %Q{
This module uses John the Ripper to identify weak passwords that have been
acquired as hashed files (loot) or raw LANMAN/NTLM hashes (hashdump). The goal
of this module is to find trivial passwords in a short amount of time. To
@ -24,8 +24,8 @@ class Metasploit3 < Msf::Auxiliary
used outside of Metasploit. This initial version just handles LM/NTLM credentials
from hashdump and uses the standard wordlist and rules.
},
'Author' => 'hdm',
'License' => MSF_LICENSE # JtR itself is GPLv2, but this wrapper is MSF (BSD)
'Author' => 'hdm',
'License' => MSF_LICENSE # JtR itself is GPLv2, but this wrapper is MSF (BSD)
)
end
@ -71,6 +71,9 @@ class Metasploit3 < Msf::Auxiliary
cracked_lm = {}
added = []
john_crack(hashlist.path, :wordlist => datastore['Wordlist'], :format => 'lm')
john_crack(hashlist.path, :wordlist => datastore['Wordlist'], :format => 'nt')
# Crack this in LANMAN format using wordlist mode with tweaked rules
john_crack(hashlist.path, :wordlist => wordlist.path, :rules => 'single', :format => 'lm')