Module: Arachni::Module::Output
Overview
Provides output functionality to the modules via the UI::Output<br/> prepending the module name to the output message.
Instance Method Summary
collapse
Methods included from UI::Output
#debug?, #debug_off, #debug_on, #disable_only_positives, #error_logfile, #flush_buffer, #log_error, #mute, #muted?, old_reset_output_options, #only_positives, #only_positives?, #print_debug_backtrace, #print_debug_pp, #print_error_backtrace, #reroute_to_file, #reroute_to_file?, reset_output_options, #set_buffer_cap, #set_error_logfile, #uncap_buffer, #unmute, #verbose, #verbose?
Instance Method Details
#fancy_name ⇒ Object
61
62
63
|
# File 'lib/arachni/module/output.rb', line 61
def fancy_name
@fancy_name ||= self.class.info[:name]
end
|
#print_bad(str = '', out = $stdout) ⇒ Object
33
34
35
|
# File 'lib/arachni/module/output.rb', line 33
def print_bad( str = '', out = $stdout )
super( fancy_name + ": " + str )
end
|
#print_debug(str = '') ⇒ Object
49
50
51
|
# File 'lib/arachni/module/output.rb', line 49
def print_debug( str = '' )
super( fancy_name + ": " + str ) if debug?
end
|
#print_error(str = '') ⇒ Object
29
30
31
|
# File 'lib/arachni/module/output.rb', line 29
def print_error( str = '' )
super( fancy_name + ": " + str )
end
|
#print_info(str = '') ⇒ Object
41
42
43
|
# File 'lib/arachni/module/output.rb', line 41
def print_info( str = '' )
super( fancy_name + ": " + str )
end
|
#print_line(str = '') ⇒ Object
57
58
59
|
# File 'lib/arachni/module/output.rb', line 57
def print_line( str = '' )
super( fancy_name + ": " + str )
end
|
#print_ok(str = '') ⇒ Object
45
46
47
|
# File 'lib/arachni/module/output.rb', line 45
def print_ok( str = '' )
super( fancy_name + ": " + str )
end
|
#print_status(str = '') ⇒ Object
37
38
39
|
# File 'lib/arachni/module/output.rb', line 37
def print_status( str = '' )
super( fancy_name + ": " + str )
end
|
#print_verbose(str = '') ⇒ Object
53
54
55
|
# File 'lib/arachni/module/output.rb', line 53
def print_verbose( str = '' )
super( fancy_name + ": " + str )
end
|