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.



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

#cleanupObject



1928
1929
1930
# File 'plugins/nessus.rb', line 1928

def cleanup
  remove_console_dispatcher('Nessus')
end

#descObject



14
15
16
# File 'plugins/nessus.rb', line 14

def desc
  PLUGIN_DESCRIPTION
end

#nameObject



10
11
12
# File 'plugins/nessus.rb', line 10

def name
  PLUGIN_NAME
end