rapid7/metasploit-framework

View on GitHub
modules/exploits/windows/browser/ms10_002_aurora.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method on_request_uri has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def on_request_uri(cli, request)

    if (request.uri.match(/\.gif/i))
      data = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==".unpack("m*")[0]
      send_response(cli, data, { 'Content-Type' => 'image/gif' })
Severity: Major
Found in modules/exploits/windows/browser/ms10_002_aurora.rb - About 2 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'MS10-002 Microsoft Internet Explorer "Aurora" Memory Corruption',
          'Description'    => %q{
              This module exploits a memory corruption flaw in Internet Explorer. This
    Severity: Minor
    Found in modules/exploits/windows/browser/ms10_002_aurora.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status