Class: Msf::Plugin::Sqlmap

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

Defined Under Namespace

Classes: SqlmapCommandDispatcher

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

Returns a new instance of Sqlmap.



275
276
277
278
279
280
281
# File 'plugins/sqlmap.rb', line 275

def initialize(framework, opts)
  super

  add_console_dispatcher(SqlmapCommandDispatcher)

  print_status('Sqlmap plugin loaded')
end

Instance Method Details

#cleanupObject



283
284
285
# File 'plugins/sqlmap.rb', line 283

def cleanup
  remove_console_dispatcher('Sqlmap')
end

#descObject



291
292
293
# File 'plugins/sqlmap.rb', line 291

def desc
  'sqlmap plugin for Metasploit'
end

#nameObject



287
288
289
# File 'plugins/sqlmap.rb', line 287

def name
  'Sqlmap'
end