Class: Msf::Plugin::Nessus
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::Nessus
- Defined in:
- plugins/nessus.rb
Defined Under Namespace
Classes: ConsoleCommandDispatcher
Instance Attribute Summary
Attributes inherited from Msf::Plugin
Attributes included from Framework::Offspring
Instance Method Summary collapse
- #cleanup ⇒ Object
- #desc ⇒ Object
-
#initialize(framework, opts) ⇒ Nessus
constructor
A new instance of Nessus.
- #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) ⇒ Nessus
Returns a new instance of Nessus.
1870 1871 1872 1873 1874 1875 |
# File 'plugins/nessus.rb', line 1870 def initialize(framework, opts) super add_console_dispatcher(ConsoleCommandDispatcher) print_status(PLUGIN_DESCRIPTION) print_status("Type %bldnessus_help%clr for a command listing") end |
Instance Method Details
#cleanup ⇒ Object
1877 1878 1879 |
# File 'plugins/nessus.rb', line 1877 def cleanup remove_console_dispatcher('Nessus') end |
#desc ⇒ Object
16 17 18 |
# File 'plugins/nessus.rb', line 16 def desc PLUGIN_DESCRIPTION end |
#name ⇒ Object
12 13 14 |
# File 'plugins/nessus.rb', line 12 def name PLUGIN_NAME end |