Class: Msf::Plugin::Nessus

Inherits:
Msf::Plugin show all
Defined in:
plugins/nessus.rb

Defined Under Namespace

Classes: ConsoleCommandDispatcher

Instance Attribute Summary

Attributes inherited from Msf::Plugin

#opts

Attributes included from Framework::Offspring

#framework

Instance Method Summary collapse

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

#cleanupObject


1877
1878
1879
# File 'plugins/nessus.rb', line 1877

def cleanup
  remove_console_dispatcher('Nessus')
end

#descObject


16
17
18
# File 'plugins/nessus.rb', line 16

def desc
  PLUGIN_DESCRIPTION
end

#nameObject


12
13
14
# File 'plugins/nessus.rb', line 12

def name
  PLUGIN_NAME
end