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.
1921 1922 1923 1924 1925 1926 |
# File 'plugins/nessus.rb', line 1921 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
1928 1929 1930 |
# File 'plugins/nessus.rb', line 1928 def cleanup remove_console_dispatcher('Nessus') end |
#desc ⇒ Object
14 15 16 |
# File 'plugins/nessus.rb', line 14 def desc PLUGIN_DESCRIPTION end |
#name ⇒ Object
10 11 12 |
# File 'plugins/nessus.rb', line 10 def name PLUGIN_NAME end |