Fix up batch mode aux scanners that dont use the tcp mixin. Minor changes to snmp_scan
git-svn-id: file:///home/svn/framework3/trunk@6422 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e1a6d31c58
commit
2552633f9b
|
@ -55,7 +55,7 @@ def run
|
|||
nmod.datastore['RHOST'] = targ
|
||||
|
||||
begin
|
||||
nmod.run_host(nmod.rhost)
|
||||
nmod.run_host(targ)
|
||||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Rex::ConnectionError
|
||||
|
|
|
@ -67,11 +67,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
print_status("Discovered #{datastore['COMMUNITY']} on #{ip} (#{ans})")
|
||||
report_auth_info(
|
||||
:host => ip,
|
||||
:proto => 'SNMP',
|
||||
:user => 'N/A',
|
||||
:proto => 'snmp',
|
||||
:user => 'n/a',
|
||||
:pass => datastore['COMMUNITY'],
|
||||
:targ_host => ip,
|
||||
:targ_port => rport
|
||||
:targ_port => 161
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue