fixed report_note

git-svn-id: file:///home/svn/framework3/trunk@12104 4d416f70-5f16-0410-b530-b9f4589650da
unstable
David Rude 2011-03-23 16:16:29 +00:00
parent 3a0c71f98b
commit 2ea46486a4
1 changed files with 11 additions and 8 deletions

View File

@ -45,14 +45,17 @@ class Metasploit3 < Msf::Auxiliary
end
}
print_good("#{ip} Found Users: #{@users.uniq.sort.join(", ")} ")
report_note(
:host => rhost,
:port => datastore['RPORT'],
:proto => 'udp',
:sname => 'snmp',
:update => :unique_data,
:type => 'smb.username',
:data => user)
@users.each do |user|
report_note(
:host => rhost,
:port => datastore['RPORT'],
:proto => 'udp',
:sname => 'snmp',
:update => :unique_data,
:type => 'smb.username',
:data => user)
end
end
disconnect_snmp