Replace `path` with `uri` to fix #11776

master
CFP 2019-04-25 23:08:19 +02:00 committed by GitHub
parent b5f164335e
commit 315d7f28c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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