Class: Msf::Plugin::OpenVAS
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::OpenVAS
- Defined in:
- plugins/openvas.rb
Defined Under Namespace
Classes: OpenVASCommandDispatcher
Instance Attribute Summary
Attributes inherited from Msf::Plugin
Attributes included from Framework::Offspring
Instance Method Summary collapse
- #cleanup ⇒ Object
- #desc ⇒ Object
-
#initialize(framework, opts) ⇒ OpenVAS
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) ⇒ OpenVAS
Plugin initialization
568 569 570 571 572 573 574 575 576 577 578 579 580 |
# File 'plugins/openvas.rb', line 568 def initialize(framework, opts) super add_console_dispatcher(OpenVASCommandDispatcher) print_status('Welcome to OpenVAS integration by kost and averagesecurityguy.') print_status print_status('OpenVAS integration requires a database connection. Once the ') print_status('database is ready, connect to the OpenVAS server using openvas_connect.') print_status('For additional commands use openvas_help.') print_status @ov = nil @formats = nil @debug = nil end |
Instance Method Details
#cleanup ⇒ Object
582 583 584 |
# File 'plugins/openvas.rb', line 582 def cleanup remove_console_dispatcher('OpenVAS') end |
#desc ⇒ Object
590 591 592 |
# File 'plugins/openvas.rb', line 590 def desc 'Integrates with the OpenVAS - open source vulnerability management' end |
#name ⇒ Object
586 587 588 |
# File 'plugins/openvas.rb', line 586 def name 'OpenVAS' end |