Module: Arachni::UI::Output

Overview

RPC Output interface.

Basically provides us with error logging and the ability to reroute all other messages to a logfile.

Author:

  • Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.reset_output_optionsObject



32
33
# File 'lib/arachni/ui/foo/output.rb', line 32

def self.reset_output_options
end

Instance Method Details

#debug?Boolean

Returns:

  • (Boolean)


108
109
# File 'lib/arachni/ui/foo/output.rb', line 108

def debug?(*)
end

#debug_level_1?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/arachni/ui/foo/output.rb', line 75

def debug_level_1?
    debug? 1
end

#debug_level_2?Boolean

Returns:

  • (Boolean)


78
79
80
# File 'lib/arachni/ui/foo/output.rb', line 78

def debug_level_2?
    debug? 2
end

#debug_level_3?Boolean

Returns:

  • (Boolean)


81
82
83
# File 'lib/arachni/ui/foo/output.rb', line 81

def debug_level_3?
    debug? 3
end

#debug_level_4?Boolean

Returns:

  • (Boolean)


84
85
86
# File 'lib/arachni/ui/foo/output.rb', line 84

def debug_level_4?
    debug? 4
end

#debug_offObject



105
106
# File 'lib/arachni/ui/foo/output.rb', line 105

def debug_off
end

#debug_onObject Also known as: debug



101
102
# File 'lib/arachni/ui/foo/output.rb', line 101

def debug_on(*)
end

#disable_only_positivesObject



119
120
# File 'lib/arachni/ui/foo/output.rb', line 119

def disable_only_positives
end

#included(base) ⇒ Object



18
19
20
# File 'lib/arachni/ui/foo/output.rb', line 18

def included( base )
    base.extend ClassMethods
end

#muteObject



125
126
# File 'lib/arachni/ui/foo/output.rb', line 125

def mute
end

#muted?Boolean

Returns:

  • (Boolean)


131
132
# File 'lib/arachni/ui/foo/output.rb', line 131

def muted?
end

#only_positivesObject



116
117
# File 'lib/arachni/ui/foo/output.rb', line 116

def only_positives
end

#only_positives?Boolean

Returns:

  • (Boolean)


122
123
# File 'lib/arachni/ui/foo/output.rb', line 122

def only_positives?
end


42
43
# File 'lib/arachni/ui/foo/output.rb', line 42

def print_bad(*)
end


54
55
# File 'lib/arachni/ui/foo/output.rb', line 54

def print_debug(*)
end


69
70
# File 'lib/arachni/ui/foo/output.rb', line 69

def print_debug_backtrace(*)
end


57
58
# File 'lib/arachni/ui/foo/output.rb', line 57

def print_debug_level_1(*)
end


60
61
# File 'lib/arachni/ui/foo/output.rb', line 60

def print_debug_level_2(*)
end


63
64
# File 'lib/arachni/ui/foo/output.rb', line 63

def print_debug_level_3(*)
end


66
67
# File 'lib/arachni/ui/foo/output.rb', line 66

def print_debug_level_4(*)
end


36
37
# File 'lib/arachni/ui/foo/output.rb', line 36

def print_error(*)
end


72
73
# File 'lib/arachni/ui/foo/output.rb', line 72

def print_error_backtrace(*)
end


39
40
# File 'lib/arachni/ui/foo/output.rb', line 39

def print_exception(*)
end


48
49
# File 'lib/arachni/ui/foo/output.rb', line 48

def print_info(*)
end


91
92
# File 'lib/arachni/ui/foo/output.rb', line 91

def print_line(*)
end


51
52
# File 'lib/arachni/ui/foo/output.rb', line 51

def print_ok(*)
end


45
46
# File 'lib/arachni/ui/foo/output.rb', line 45

def print_status(*)
end


88
89
# File 'lib/arachni/ui/foo/output.rb', line 88

def print_verbose(*)
end

#reroute_to_file(file) ⇒ Object



73
74
75
# File 'lib/arachni/rpc/server/output.rb', line 73

def reroute_to_file( file )
    @@reroute_to_file = file
end

#reroute_to_file?Boolean

Returns:

  • (Boolean)


77
78
79
# File 'lib/arachni/rpc/server/output.rb', line 77

def reroute_to_file?
    @@reroute_to_file
end

#unmuteObject



128
129
# File 'lib/arachni/ui/foo/output.rb', line 128

def unmute
end

#verbose?Boolean

Returns:

  • (Boolean)


98
99
# File 'lib/arachni/ui/foo/output.rb', line 98

def verbose?
end

#verbose_onObject Also known as: verbose



94
95
# File 'lib/arachni/ui/foo/output.rb', line 94

def verbose_on
end