rapid7/metasploit-framework

View on GitHub
modules/exploits/aix/rpc_cmsd_opcode21.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'           => 'AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow',
      'Description'    => %q{
          This module exploits a buffer overflow vulnerability in opcode 21 handled by
Severity: Minor
Found in modules/exploits/aix/rpc_cmsd_opcode21.rb - About 1 hr to fix

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

      def brute_exploit(brute_target)
    
        if not @aixpayload
          datastore['AIX'] = target['AIX']
          @aixpayload = regenerate_payload.encoded
    Severity: Minor
    Found in modules/exploits/aix/rpc_cmsd_opcode21.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status