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.


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

def initialize(framework, opts)
  super

  add_console_dispatcher(SqlmapCommandDispatcher)

  print_status('Sqlmap plugin loaded')
end

Instance Method Details

#cleanupObject


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

def cleanup
  remove_console_dispatcher('Sqlmap')
end

#descObject


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

def desc
  'sqlmap plugin for Metasploit'
end

#nameObject


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

def name
  'Sqlmap'
end