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
|
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
|
||||||
|
|
Loading…
Reference in New Issue