Class: Msf::Plugin::OpenVAS

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

Defined Under Namespace

Classes: OpenVASCommandDispatcher

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) ⇒ 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

#cleanupObject


585
586
587
# File 'plugins/openvas.rb', line 585

def cleanup
  remove_console_dispatcher('OpenVAS')
end

#descObject


593
594
595
# File 'plugins/openvas.rb', line 593

def desc
  "Integrates with the OpenVAS - open source vulnerability management"
end

#nameObject


589
590
591
# File 'plugins/openvas.rb', line 589

def name
  "OpenVAS"
end