Class: Msf::Plugin::BeSECURE

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

Defined Under Namespace

Classes: BeSECURECommandDispatcher

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


Plugin initialization



324
325
326
327
328
329
330
331
332
333
334
335
# File 'plugins/besecure.rb', line 324

def initialize(framework, opts)
  super
  add_console_dispatcher(BeSECURECommandDispatcher)
  print_status("Welcome to beSECURE integration by Noam Rathaus.")
  print_status
  print_status("beSECURE integration requires a database connection. Once the ")
  print_status("database is ready, connect to the beSECURE server using besecure_connect.")
  print_status("For additional commands use besecure_help.")
  print_status

  @debug = nil
end

Instance Method Details

#cleanupObject


337
338
339
# File 'plugins/besecure.rb', line 337

def cleanup
  remove_console_dispatcher('beSECURE')
end

#descObject


345
346
347
# File 'plugins/besecure.rb', line 345

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

#nameObject


341
342
343
# File 'plugins/besecure.rb', line 341

def name
  "beSECURE"
end