rapid7/metasploit-framework

View on GitHub
modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'D-Link DIR-605L Captcha Handling Buffer Overflow',
      'Description'    => %q{
          This module exploits an anonymous remote code execution vulnerability on D-Link DIR-605L routers. The
Severity: Minor
Found in modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb - About 1 hr to fix

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

      def exploit
    
        shellcode = ""
        shellcode << rand_text(target['Offset'])                             # Padding
        shellcode << rand_text(4)                                            # $s0
    Severity: Minor
    Found in modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status