Class: Arachni::RPC::Server::Module::Manager

Inherits:
Module::Manager show all
Defined in:
lib/arachni/rpc/server/module/manager.rb

Overview

We need to extend the original Manager and redeclare its inherited methods which are required over RPC.

@author: Tasos “Zapotek” Laskos

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

@version: 0.1.1

Constant Summary

Constants inherited from ComponentManager

ComponentManager::EXCLUDE, ComponentManager::WILDCARD

Instance Method Summary collapse

Methods inherited from Module::Manager

do_not_store!, #do_not_store!, issue_set, #issue_set, issue_set_id_from_elem, #issue_set_id_from_elem, issue_set_id_from_issue, #issue_set_id_from_issue, #on_register_results, on_register_results, register_results, #register_results, results, #results, #run, #run_one

Methods included from Module::Utilities

#exception_jail, #get_path, #hash_keys_to_str, #normalize_url, #read_file, #seed, #uri_decode, #uri_encode, #uri_parse, #uri_parser, #url_sanitize

Methods included from UI::Output

#buffer, #debug!, #debug?, #flush_buffer, #mute!, #muted?, #only_positives!, #only_positives?, #print_bad, #print_debug, #print_debug_backtrace, #print_debug_pp, #print_error, #print_error_backtrace, #print_info, #print_line, #print_ok, #print_status, #print_verbose, #reroute_to_file, #reroute_to_file?, #uncap_buffer!, #unmute!, #verbose!, #verbose?

Methods inherited from ComponentManager

#[], #available, #name_to_path, #parse, #path_to_name, #paths, #prep_opts, #wilcard_to_names

Constructor Details

#initialize(opts) ⇒ Manager

Returns a new instance of Manager.



35
36
37
# File 'lib/arachni/rpc/server/module/manager.rb', line 35

def initialize( opts )
    super( opts )
end

Instance Method Details

#load(mods) ⇒ Object



39
40
41
42
# File 'lib/arachni/rpc/server/module/manager.rb', line 39

def load( mods )
    super( mods )
    @opts.mods = mods
end