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




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

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



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

def cleanup
  remove_console_dispatcher('beSECURE')
end

#descObject



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

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

#nameObject



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

def name
  'beSECURE'
end