rapid7/metasploit-framework

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

Summary

Maintainability
C
1 day
Test Coverage

Method generate_html has 171 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))

    custom_js = %Q|
function check(){
Severity: Major
Found in modules/exploits/windows/browser/mozilla_interleaved_write.rb - About 6 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Mozilla Firefox Interleaved document.write/appendChild Memory Corruption',
          'Description'    => %q{
              This module exploits a code execution vulnerability in Mozilla
    Severity: Minor
    Found in modules/exploits/windows/browser/mozilla_interleaved_write.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status