rapid7/metasploit-framework

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

Summary

Maintainability
B
4 hrs
Test Coverage

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

  def generate_html(cli, target)
    vars = {
      :symbol_id        => 'a',
      :random_domain    => 'safe',
      :payload          => run_payload, # defined in FirefoxPrivilegeEscalation mixin
Severity: Major
Found in modules/exploits/multi/browser/firefox_svg_plugin.rb - About 2 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Firefox 17.0.1 Flash Privileged Code Injection',
          'Description'    => %q{
            This exploit gains remote code execution on Firefox 17 and 17.0.1, provided
    Severity: Major
    Found in modules/exploits/multi/browser/firefox_svg_plugin.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status