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
571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'plugins/openvas.rb', line 571 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
585 586 587 |
# File 'plugins/openvas.rb', line 585 def cleanup remove_console_dispatcher('OpenVAS') end |
#desc ⇒ Object
593 594 595 |
# File 'plugins/openvas.rb', line 593 def desc "Integrates with the OpenVAS - open source vulnerability management" end |
#name ⇒ Object
589 590 591 |
# File 'plugins/openvas.rb', line 589 def name "OpenVAS" end |