From 315d7f28c12498b959cb5f1a60850a8dd8e6efb3 Mon Sep 17 00:00:00 2001 From: CFP Date: Thu, 25 Apr 2019 23:08:19 +0200 Subject: [PATCH] Replace `path` with `uri` to fix #11776 --- modules/auxiliary/dos/http/apache_range_dos.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/auxiliary/dos/http/apache_range_dos.rb b/modules/auxiliary/dos/http/apache_range_dos.rb index f7cb995da7..9af3491d78 100644 --- a/modules/auxiliary/dos/http/apache_range_dos.rb +++ b/modules/auxiliary/dos/http/apache_range_dos.rb @@ -77,17 +77,17 @@ class MetasploitModule < Msf::Auxiliary if (res and res.code == 206) 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( :host => rhost, :port => rport, :type => 'apache.killer', - :data => "Apache Byte-Range DOS at #{path}" + :data => "Apache Byte-Range DOS at #{uri}" ) else - print_status("#{rhost} doesn't seem to be vulnerable at #{path}") + print_status("#{rhost} doesn't seem to be vulnerable at #{uri}") end rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout