rapid7/metasploit-framework

View on GitHub
modules/auxiliary/gather/drupal_openid_xxe.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method xrds_file has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def xrds_file
    element_entity = <<-EOF
<!ELEMENT URI ANY>
<!ENTITY xxe SYSTEM "file://#{datastore['FILEPATH']}">
    EOF
Severity: Minor
Found in modules/auxiliary/gather/drupal_openid_xxe.rb - About 1 hr to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Drupal OpenID External Entity Injection',
          'Description'    => %q{
            This module abuses an XML External Entity Injection
    Severity: Minor
    Found in modules/auxiliary/gather/drupal_openid_xxe.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status