rapid7/metasploit-framework

View on GitHub
modules/exploits/multi/samba/nttrans.rb

Summary

Maintainability
B
4 hrs
Test Coverage

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

  def exploit

    # 0x081fc968

    pattern = Rex::Text.pattern_create(12000)
Severity: Major
Found in modules/exploits/multi/samba/nttrans.rb - About 2 hrs to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'Samba 2.2.2 - 2.2.6 nttrans Buffer Overflow',
          'Description'    => %q{
              This module attempts to exploit a buffer overflow vulnerability present in
    Severity: Minor
    Found in modules/exploits/multi/samba/nttrans.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status