rapid7/metasploit-framework

View on GitHub
modules/auxiliary/server/webkit_xslt_dropper.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

  def on_request_uri(cli, request)
    path  = datastore['REMOTE_PATH']
    content  = datastore['REMOTE_CONTENT']
    html = <<-EOS
<?xml-stylesheet type="text/xml" href="#fragment"?>
Severity: Minor
Found in modules/auxiliary/server/webkit_xslt_dropper.rb - About 1 hr to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'        => 'Cross Platform Webkit File Dropper',
          'Description' => %q{
              This module exploits a XSLT vulnerability in Webkit to drop ASCII or UTF-8
    Severity: Minor
    Found in modules/auxiliary/server/webkit_xslt_dropper.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status