Fix a bug where we weren't actually trying to get the correct case for lm/ntlm hashes
git-svn-id: file:///home/svn/framework3/trunk@13927 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
89ab6c11a9
commit
b615055c89
|
@ -147,7 +147,7 @@ module Auxiliary::JohnTheRipper
|
|||
def john_lm_upper_to_ntlm(pwd, hash)
|
||||
pwd = pwd.upcase
|
||||
hash = hash.upcase
|
||||
Rex::Text.permute_case(pwd) do |str|
|
||||
Rex::Text.permute_case(pwd).each do |str|
|
||||
if hash == Rex::Proto::NTLM::Crypt.ntlm_hash(str).unpack("H*")[0].upcase
|
||||
return str
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue