Module: Arachni::Module::Output

Includes:
UI::Output
Included in:
Base, Trainer, Plugin::Base
Defined in:
lib/arachni/module/output.rb

Overview

Provides output functionality to the modules via the UI::Output<br/> prepending the module name to the output message.

@author: Tasos “Zapotek” Laskos

<[email protected]>
<[email protected]>

@version: 0.1

Instance Method Summary collapse

Methods included from UI::Output

#buffer, #debug!, #debug?, #flush_buffer, #mute!, #muted?, #only_positives!, #only_positives?, #print_debug_backtrace, #print_debug_pp, #print_error_backtrace, #reroute_to_file, #reroute_to_file?, #uncap_buffer!, #unmute!, #verbose!, #verbose?

Instance Method Details

#o_print_badObject



30
# File 'lib/arachni/module/output.rb', line 30

alias :o_print_bad      :print_bad

#o_print_debugObject



34
# File 'lib/arachni/module/output.rb', line 34

alias :o_print_debug    :print_debug

#o_print_errorObject



29
# File 'lib/arachni/module/output.rb', line 29

alias :o_print_error    :print_error

#o_print_infoObject



32
# File 'lib/arachni/module/output.rb', line 32

alias :o_print_info     :print_info

#o_print_lineObject



36
# File 'lib/arachni/module/output.rb', line 36

alias :o_print_line     :print_line

#o_print_okObject



33
# File 'lib/arachni/module/output.rb', line 33

alias :o_print_ok       :print_ok

#o_print_statusObject



31
# File 'lib/arachni/module/output.rb', line 31

alias :o_print_status   :print_status

#o_print_verboseObject



35
# File 'lib/arachni/module/output.rb', line 35

alias :o_print_verbose  :print_verbose


42
43
44
# File 'lib/arachni/module/output.rb', line 42

def print_bad( str = '', out = $stdout )
    o_print_bad( self.class.info[:name] + ": " + str )
end


58
59
60
# File 'lib/arachni/module/output.rb', line 58

def print_debug( str = '' )
    o_print_debug( self.class.info[:name] + ": " + str )
end


38
39
40
# File 'lib/arachni/module/output.rb', line 38

def print_error( str = '' )
    o_print_error( self.class.info[:name] + ": " + str )
end


50
51
52
# File 'lib/arachni/module/output.rb', line 50

def print_info( str = '' )
    o_print_info( self.class.info[:name] + ": " + str )
end


66
67
68
# File 'lib/arachni/module/output.rb', line 66

def print_line( str = '' )
    o_print_line( self.class.info[:name] + ": " + str )
end


54
55
56
# File 'lib/arachni/module/output.rb', line 54

def print_ok( str = '' )
    o_print_ok( self.class.info[:name] + ": " + str )
end


46
47
48
# File 'lib/arachni/module/output.rb', line 46

def print_status( str = '' )
    o_print_status( self.class.info[:name] + ": " + str )
end


62
63
64
# File 'lib/arachni/module/output.rb', line 62

def print_verbose( str = '' )
    o_print_verbose( self.class.info[:name] + ": " + str )
end