rapid7/metasploit-framework

View on GitHub
modules/exploits/osx/email/mailapp_image_exec.rb

Summary

Maintainability
B
4 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Mail.app Image Attachment Command Execution',
      'Description'    => %q{
          This module exploits a command execution vulnerability in the
Severity: Major
Found in modules/exploits/osx/email/mailapp_image_exec.rb - About 2 hrs to fix

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

      def exploit
    
        exts = ['jpg']
    
        gext = exts[rand(exts.length)]
    Severity: Major
    Found in modules/exploits/osx/email/mailapp_image_exec.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status