1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

Fix the framework reference

git-svn-id: file:///home/svn/framework3/trunk@8313 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-01-28 23:18:45 +00:00
parent 284af1260a
commit 7f526940b7

View File

@ -234,10 +234,10 @@ print_line()
print_line() print_line()
users.keys.sort{|a,b| a<=>b}.each do |rid| users.keys.sort{|a,b| a<=>b}.each do |rid|
hashstring = "#{users[rid][:Name]}:#{rid}:#{users[rid][:hashlm].unpack("H*")[0]}:#{users[rid][:hashnt].unpack("H*")[0]}:::" hashstring = "#{users[rid][:Name]}:#{rid}:#{users[rid][:hashlm].unpack("H*")[0]}:#{users[rid][:hashnt].unpack("H*")[0]}:::"
framework.db.report_auth_info( @client.framework.db.report_auth_info(
:host => client.sock.peerhost, :host => client.sock.peerhost,
:proto => 'smb', :proto => 'smb',
:user => users[rid][:Name], :user => users[rid][:Name],
:hash => users[rid][:hashlm].unpack("H*")[0] +":"+ users[rid][:hashnt].unpack("H*")[0], :hash => users[rid][:hashlm].unpack("H*")[0] +":"+ users[rid][:hashnt].unpack("H*")[0],
:hash_string => hashstring, :hash_string => hashstring,
:target_host => client.sock.peerhost :target_host => client.sock.peerhost