rapid7/metasploit-framework

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

Summary

Maintainability
B
4 hrs
Test Coverage

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

  def go(command)
    xml = <<-EOS
<?xml version="1.0"?>
<methodCall>
<methodName>utl_test_url</methodName>
Severity: Minor
Found in modules/exploits/unix/webapp/oracle_vm_agent_utl.rb - About 1 hr to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Oracle VM Server Virtual Server Agent Command Injection',
          'Description'    => %q{
              This module exploits a command injection flaw within Oracle\'s VM Server
    Severity: Minor
    Found in modules/exploits/unix/webapp/oracle_vm_agent_utl.rb - About 1 hr to fix

      Avoid too many return statements within this method.
      Open

          return nil
      Severity: Major
      Found in modules/exploits/unix/webapp/oracle_vm_agent_utl.rb - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status