We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb05a6 commit 30228bcCopy full SHA for 30228bc
modules/post/windows/gather/smart_hashdump.rb
@@ -323,7 +323,7 @@ def inject_hashdump
323
# skip if it returns nil for an entry
324
next if h == nil
325
begin
326
- user = returned_hash[0].scan(/^[a-zA-Z0-9\-$.]*/).join.gsub(/\.$/,"")
+ user = returned_hash[0].scan(/^[a-zA-Z0-9_\-$.]*/).join.gsub(/\.$/,"")
327
lmhash = returned_hash[2].scan(/[a-f0-9]*/).join
328
next if lmhash == nil
329
hash_entry = "#{user}:#{rid}:#{lmhash}:#{returned_hash[3]}"
0 commit comments