rapid7/metasploit-framework

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

Summary

Maintainability
B
5 hrs
Test Coverage

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

  def on_request_uri(cli, request)
    mytarget   = auto_target(cli, request)
    var_title  = rand_text_alpha(rand(100) + 1)
    func_main  = rand_text_alpha(rand(100) + 1)
    randnop = rand_text_alpha(rand(100) + 1)
Severity: Major
Found in modules/exploits/windows/browser/ms05_054_onload.rb - About 3 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'MS05-054 Microsoft Internet Explorer JavaScript OnLoad Handler Remote Code Execution',
          'Description'    => %q{
            This bug is triggered when the browser handles a JavaScript 'onLoad' handler in
    Severity: Major
    Found in modules/exploits/windows/browser/ms05_054_onload.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status