rapid7/metasploit-framework

View on GitHub
modules/exploits/osx/browser/mozilla_mchannel.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def on_request_uri(cli, request)
    # random javascript variable names
    js_element_name      = rand_text_alpha(rand(10) + 5)
    js_obj_addr_name     = rand_text_alpha(rand(10) + 5)
    js_sc_name           = rand_text_alpha(rand(10) + 5)
Severity: Minor
Found in modules/exploits/osx/browser/mozilla_mchannel.rb - About 2 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Mozilla Firefox 3.6.16 mChannel Use-After-Free',
          'Description'    => %q{
            This module exploits a use-after-free vulnerability in Mozilla
    Severity: Minor
    Found in modules/exploits/osx/browser/mozilla_mchannel.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status