Fix the report_note not to clash with smb_enumusers format
git-svn-id: file:///home/svn/framework3/trunk@12107 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e866eafb06
commit
fff99db43d
|
@ -45,17 +45,16 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
disconnect_snmp
|
||||
|
||||
@users.each do |user|
|
||||
report_note(
|
||||
:host => rhost,
|
||||
:port => datastore['RPORT'],
|
||||
:proto => 'udp',
|
||||
:sname => 'snmp',
|
||||
:update => :unique_data,
|
||||
:type => 'smb.username',
|
||||
:data => user
|
||||
)
|
||||
end
|
||||
report_note(
|
||||
:host => rhost,
|
||||
:port => datastore['RPORT'],
|
||||
:proto => 'udp',
|
||||
:sname => 'snmp',
|
||||
:update => :unique_data,
|
||||
:type => 'snmp.users',
|
||||
:data => @users
|
||||
)
|
||||
|
||||
|
||||
rescue ::SNMP::UnsupportedVersion
|
||||
rescue ::SNMP::RequestTimeout
|
||||
|
|
Loading…
Reference in New Issue