Class: Msf::Plugin::Aggregator
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::Aggregator
- Defined in:
- plugins/aggregator.rb
Defined Under Namespace
Classes: AggregatorCommandDispatcher
Instance Attribute Summary
Attributes inherited from Msf::Plugin
Attributes included from Framework::Offspring
Instance Method Summary collapse
- #cleanup ⇒ Object
- #desc ⇒ Object
-
#initialize(framework, opts) ⇒ Aggregator
constructor
Plugin initialization.
- #name ⇒ Object
Methods inherited from Msf::Plugin
#add_console_dispatcher, create, #flush, #input, #output, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #remove_console_dispatcher
Constructor Details
#initialize(framework, opts) ⇒ Aggregator
Plugin initialization
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'plugins/aggregator.rb', line 498 def initialize(framework, opts) super # # Require the metasploit/aggregator gem, but fail nicely if it's not there. # begin require "metasploit/aggregator" rescue LoadError raise "WARNING: metasploit/aggregator is not avaiable for now." end add_console_dispatcher(AggregatorCommandDispatcher) print_status("Aggregator interaction has been enabled") end |
Instance Method Details
#cleanup ⇒ Object
514 515 516 |
# File 'plugins/aggregator.rb', line 514 def cleanup remove_console_dispatcher('Aggregator') end |
#desc ⇒ Object
522 523 524 |
# File 'plugins/aggregator.rb', line 522 def desc "Interacts with the external Session Aggregator" end |
#name ⇒ Object
518 519 520 |
# File 'plugins/aggregator.rb', line 518 def name "aggregator" end |