Class: Msf::Plugin::Aggregator
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::Aggregator
- Defined in:
- plugins/aggregator.rb
Overview
This plugin provides management and interaction with an external session aggregator.
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
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 |
# File 'plugins/aggregator.rb', line 488 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
504 505 506 |
# File 'plugins/aggregator.rb', line 504 def cleanup remove_console_dispatcher('Aggregator') end |
#desc ⇒ Object
512 513 514 |
# File 'plugins/aggregator.rb', line 512 def desc 'Interacts with the external Session Aggregator' end |
#name ⇒ Object
508 509 510 |
# File 'plugins/aggregator.rb', line 508 def name 'aggregator' end |