rapid7/metasploit-framework

View on GitHub
modules/exploits/multi/browser/mozilla_navigatorjava.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Mozilla Suite/Firefox Navigator Object Code Execution',
      'Description'    => %q{
          This module exploits a code execution vulnerability in the Mozilla
Severity: Major
Found in modules/exploits/multi/browser/mozilla_navigatorjava.rb - About 2 hrs to fix

    Method generate_html has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def generate_html(payload)
    
        enc_code = Rex::Text.to_unescape(payload.encoded, Rex::Arch.endian(target.arch))
    
        return %Q|
    Severity: Minor
    Found in modules/exploits/multi/browser/mozilla_navigatorjava.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status