rapid7/metasploit-framework

View on GitHub
modules/exploits/windows/fileformat/cyberlink_lpp_bof.rb

Summary

Maintainability
B
5 hrs
Test Coverage

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

  def exploit
    nop = "\x42"
    junk = 'ABC'.split('').sample              #junk must specifically static (A, B, and C only)
    buffer = ""
    buffer << junk * target['Offset']
Severity: Major
Found in modules/exploits/windows/fileformat/cyberlink_lpp_bof.rb - About 2 hrs to fix

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

      def initialize(info={})
        super(update_info(info,
          'Name'           => "CyberLink LabelPrint 2.5 Stack Buffer Overflow",
          'Description'    => %q{
            This module exploits a stack buffer overflow in CyberLink LabelPrint 2.5 and below.
    Severity: Major
    Found in modules/exploits/windows/fileformat/cyberlink_lpp_bof.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status