2010-05-03 19:13:09 +02:00
|
|
|
##
|
|
|
|
# $Id$
|
|
|
|
# $Revision$
|
|
|
|
##
|
2009-04-14 05:54:18 +02:00
|
|
|
|
|
|
|
module Msf
|
2010-08-05 04:23:34 +02:00
|
|
|
class Plugin::DeprecatedSqlite3 < Msf::Plugin
|
2009-04-14 05:54:18 +02:00
|
|
|
def name
|
|
|
|
"Deprecated_plugin_stub"
|
|
|
|
end
|
|
|
|
def initialize(framework, opts)
|
|
|
|
super
|
|
|
|
print_error("")
|
|
|
|
print_error("The functionality previously provided by this plugin has been")
|
|
|
|
print_error("integrated into the core command set. Use the new 'db_driver'")
|
|
|
|
print_error("command to use a database driver other than sqlite3 (which")
|
|
|
|
print_error("is now the default). All of the old commands are the same.")
|
|
|
|
print_error("")
|
2009-04-14 05:58:12 +02:00
|
|
|
raise RuntimeError.new("Deprecated plugin")
|
2009-04-14 05:54:18 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|