Module: Arachni::Component::Output

Includes:
UI::Output
Included in:
Base
Defined in:
lib/arachni/component/output.rb

Overview

Provides output functionality to the checks via UI::Output, prefixing the check name to the output message.

Author:

Instance Method Summary collapse

Methods included from UI::Output

#debug?, #debug_off, #debug_on, #disable_only_positives, #included, #mute, #muted?, #only_positives, #only_positives?, #print_bad, #print_debug, #print_debug_backtrace, #print_debug_level_1, #print_debug_level_2, #print_debug_level_3, #print_error, #print_error_backtrace, #print_exception, #print_info, #print_line, #print_ok, #print_status, #print_verbose, #reroute_to_file, #reroute_to_file?, reset_output_options, #unmute, #verbose?, #verbose_on

Instance Method Details

#depersonalize_outputObject



19
20
21
# File 'lib/arachni/component/output.rb', line 19

def depersonalize_output
    @depersonalize_output = true
end

#depersonalize_output?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/arachni/component/output.rb', line 23

def depersonalize_output?
    @depersonalize_output
end

#intercept_print_message(message) ⇒ Object



27
28
29
# File 'lib/arachni/component/output.rb', line 27

def intercept_print_message( message )
    depersonalize_output? ? message : "#{self.class.fullname}: #{message}"
end