Mark XP hashes as mscash for JtR to recognize

bug/bundler_fix
James Lee 2013-11-13 19:04:16 -06:00
parent 0aef145f64
commit cb10b4783b
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
# post/windows/gather/cachedump.rb
##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
@ -176,7 +174,7 @@ class Metasploit3 < Msf::Post
if lsa_vista_style?
return "#{username.downcase}:$DCC2$##{username.downcase}##{hash.unpack("H*")[0]}:#{dnsDomainName}:#{logonDomainName}\n"
else
return "#{username.downcase}:#{hash.unpack("H*")[0]}:#{dnsDomainName}:#{logonDomainName}\n"
return "#{username.downcase}:M$#{username.downcase}##{hash.unpack("H*")[0]}:#{dnsDomainName}:#{logonDomainName}\n"
end
end