Land #11777, Fix auxiliary/dos/http/apache_range_dos `CHECK` action
commit
c2d02efb3c
|
@ -77,17 +77,17 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
|
|
||||||
if (res and res.code == 206)
|
if (res and res.code == 206)
|
||||||
print_status("Response was #{res.code}")
|
print_status("Response was #{res.code}")
|
||||||
print_status("Found Byte-Range Header DOS at #{path}")
|
print_status("Found Byte-Range Header DOS at #{uri}")
|
||||||
|
|
||||||
report_note(
|
report_note(
|
||||||
:host => rhost,
|
:host => rhost,
|
||||||
:port => rport,
|
:port => rport,
|
||||||
:type => 'apache.killer',
|
:type => 'apache.killer',
|
||||||
:data => "Apache Byte-Range DOS at #{path}"
|
:data => "Apache Byte-Range DOS at #{uri}"
|
||||||
)
|
)
|
||||||
|
|
||||||
else
|
else
|
||||||
print_status("#{rhost} doesn't seem to be vulnerable at #{path}")
|
print_status("#{rhost} doesn't seem to be vulnerable at #{uri}")
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
||||||
|
|
Loading…
Reference in New Issue