rapid7/metasploit-framework

View on GitHub
modules/exploits/unix/webapp/google_proxystylesheet_exec.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method exploit has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def exploit

    # load the xml data
    path = File.join(Msf::Config.data_directory, "exploits", "google_proxystylesheet.xml")
    fd = File.open(path, "rb")
Severity: Minor
Found in modules/exploits/unix/webapp/google_proxystylesheet_exec.rb - About 1 hr to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Google Appliance ProxyStyleSheet Command Execution',
          'Description'    => %q{
            This module exploits a feature in the Saxon XSLT parser used by
    Severity: Minor
    Found in modules/exploits/unix/webapp/google_proxystylesheet_exec.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status