Starting getting rid of report_note to use report_web_vuln on all http aux modules

unstable
Efrain Torres 2012-02-20 22:08:00 -06:00 committed by Tod Beardsley
parent 2ce7dc9331
commit 1a09a49f69
1 changed files with 13 additions and 6 deletions

View File

@ -171,13 +171,20 @@ class Metasploit3 < Msf::Auxiliary
else else
print_status("Found #{wmap_base_url}#{teststr} #{res.code.to_i}") print_status("Found #{wmap_base_url}#{teststr} #{res.code.to_i}")
report_note( report_web_vuln(
:host => ip, :host => ip,
:proto => 'tcp',
:sname => (ssl ? 'https' : 'http'),
:port => rport, :port => rport,
:type => 'DIRECTORY', :vhost => vhost,
:data => "#{teststr}" :ssl => ssl,
:path => "#{teststr}",
:method => 'GET',
:pname => "",
:proof => "Res code: #{res.code.to_s}",
:risk => 0,
:confidence => 100,
:category => 'directory',
:description => 'Directory found.',
:name => 'directory'
) )
end end