rapid7/metasploit-framework

View on GitHub
modules/auxiliary/dos/http/apache_range_dos.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method initialize has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Apache Range Header DoS (Apache Killer)',
      'Description'    => %q{
          The byterange filter in the Apache HTTP Server 2.0.x through 2.0.64, and 2.2.x
Severity: Minor
Found in modules/auxiliary/dos/http/apache_range_dos.rb - About 1 hr to fix

    Method check_for_dos has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def check_for_dos()
        uri = datastore['URI']
        rhost = datastore['RHOST']
        begin
          res = send_request_cgi({
    Severity: Minor
    Found in modules/auxiliary/dos/http/apache_range_dos.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status