Starting getting rid of report_note to use report_web_vuln on all http aux modules
parent
2ce7dc9331
commit
1a09a49f69
|
@ -171,13 +171,20 @@ class Metasploit3 < Msf::Auxiliary
|
|||
else
|
||||
print_status("Found #{wmap_base_url}#{teststr} #{res.code.to_i}")
|
||||
|
||||
report_note(
|
||||
report_web_vuln(
|
||||
:host => ip,
|
||||
:proto => 'tcp',
|
||||
:sname => (ssl ? 'https' : 'http'),
|
||||
:port => rport,
|
||||
:type => 'DIRECTORY',
|
||||
:data => "#{teststr}"
|
||||
:vhost => vhost,
|
||||
: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
|
||||
|
|
Loading…
Reference in New Issue