Add user param to nt_hash call.

bug/bundler_fix
Joe Vennix 2013-12-09 10:28:06 -06:00
parent df76651834
commit 6d1d45c691
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ class Metasploit3 < Msf::Post
# Check if NT HASH is present
if hash_decoded =~ /4F1010/
report_nt_hash(hash_decoded.scan(/^\w*4F1010(\w*)4F1044/)[0][0])
report_nt_hash(hash_decoded.scan(/^\w*4F1010(\w*)4F1044/)[0][0], user)
end
# slice out the sha512 hash + salt
@ -110,7 +110,7 @@ class Metasploit3 < Msf::Post
hash_file << "#{user}:#{sha1_hash}"
end
if nt_hash !~ /000000000000000/
report_nt_hash(nt_hash)
report_nt_hash(nt_hash, user)
end
if lm_hash !~ /0000000000000/
print_status("LM:#{user}:#{lm_hash}")