rapid7/metasploit-framework

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Microsoft Works 7 WkImgSrv.dll WKsPictureInterface() ActiveX Code Execution',
      'Description'    => %q{
          The Microsoft Works ActiveX control (WkImgSrv.dll) could allow a remote attacker
Severity: Minor
Found in modules/exploits/windows/fileformat/msworks_wkspictureinterface.rb - About 1 hr to fix

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

      def exploit
    
        # Encode the shellcode.
        shellcode = Rex::Text.to_unescape(payload.encoded, Rex::Arch.endian(target.arch))
    
    
    Severity: Minor
    Found in modules/exploits/windows/fileformat/msworks_wkspictureinterface.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status