Land #4463, smart_hashdump user regex update

bug/bundler_fix
William Vu 2014-12-23 23:37:37 -06:00
commit 76627ec921
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ class Metasploit3 < Msf::Post
# skip if it returns nil for an entry
next if h == nil
begin
user = returned_hash[0].scan(/^[a-zA-Z0-9\-$.]*/).join.gsub(/\.$/,"")
user = returned_hash[0].scan(/^[a-zA-Z0-9_\-$.]*/).join.gsub(/\.$/,"")
lmhash = returned_hash[2].scan(/[a-f0-9]*/).join
next if lmhash == nil
hash_entry = "#{user}:#{rid}:#{lmhash}:#{returned_hash[3]}"