rapid7/metasploit-framework

View on GitHub
modules/exploits/osx/browser/safari_user_assisted_download_launch.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Safari User-Assisted Download and Run Attack',
      'Description'    => %q{
        This module abuses some Safari functionality to force the download of a
Severity: Major
Found in modules/exploits/osx/browser/safari_user_assisted_download_launch.rb - About 2 hrs to fix

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

      def generate_html
        %Q|
        <html><body>
        #{datastore['CONTENT']}
        <iframe id='f' src='about:blank' style='position:fixed;left:-500px;top:-500px;width:1px;height:1px;'>

      There are no issues that match your filters.

      Category
      Status