modules/exploits/osx/browser/safari_user_assisted_download_launch.rb
Method initialize
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Method generate_html
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;'>