rapid7/metasploit-framework

View on GitHub
modules/auxiliary/admin/http/wp_easycart_privilege_escalation.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'WordPress WP EasyCart Plugin Privilege Escalation',
Severity: Minor
Found in modules/auxiliary/admin/http/wp_easycart_privilege_escalation.rb - About 1 hr to fix

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

      def run
        print_status("Authenticating with WordPress using #{username}:#{password}...")
        cookie = wordpress_login(username, password)
        if cookie.nil?
          print_error('Failed to authenticate with WordPress')
    Severity: Minor
    Found in modules/auxiliary/admin/http/wp_easycart_privilege_escalation.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status