rapid7/metasploit-framework

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Adobe Flash Player AVM Bytecode Verification Vulnerability',
      'Description'    => %q{
          This module exploits a vulnerability in Adobe Flash Player versions 10.2.152.33
Severity: Minor
Found in modules/exploits/windows/browser/adobe_flashplayer_avm.rb - About 1 hr to fix

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

      def on_request_uri(cli, request)
        trigger = @swf
        trigger_file = rand_text_alpha(rand(6)+3) + ".swf"
        shellcode = payload.encoded.unpack('H*')[0]
        obj_id = rand_text_alpha(rand(6)+3)
    Severity: Minor
    Found in modules/exploits/windows/browser/adobe_flashplayer_avm.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status