Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Problem loading db_sqlite3, calling db_driver

  1. #1
    Member kazalku's Avatar
    Join Date
    Feb 2009
    Posts
    416

    Unhappy Problem loading db_sqlite3, calling db_driver

    My issue is similar to this: http://forums.remote-exploit.org/showthread.php?t=22179 and this: http://forums.remote-exploit.org/showthread.php?t=22017
    I'm using BT4b from a usb with persistent change. Following is the error msg I'm getting:
    msf > load db_sqlite3
    [-]
    [-] The functionality previously provided by this plugin has been
    [-] integrated into the core command set. Use the new 'db_driver'
    [-] command to use a database driver other than sqlite3 (which
    [-] is now the default). All of the old commands are the same.
    [-]
    [-] Error while running command load: Deprecated plugin

    Call stack:
    /pentest/exploits/framework3/plugins/db_sqlite3.rb:15:in `initialize'
    /pentest/exploits/framework3/lib/msf/core/plugin.rb:31:in `new'
    /pentest/exploits/framework3/lib/msf/core/plugin.rb:31:in `create'
    /pentest/exploits/framework3/lib/msf/core/plugin_manager.rb:71:in `load'
    /pentest/exploits/framework3/lib/msf/base/simple/framework.rb:33:in `load'
    /pentest/exploits/framework3/lib/msf/ui/console/command_dispatcher/core.rb:517:in `cmd_load'
    /pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'
    /pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'
    /pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'
    /pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'
    /pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'
    /pentest/exploits/framework3/lib/rex/ui/text/shell.rb:127:in `run'
    ./msfconsole:78
    msf > db_driver
    [-] Unknown command: db_driver.
    msf > db_create new
    [-] Unknown command: db_create.
    msf >
    I don't want to wipe the drive & start from fresh. Any idea will be appreciated. Cheers
    If you can't explain it simply, you don't understand it well enough -- Albert Einstein

  2. #2
    Just burned his ISO
    Join Date
    Aug 2008
    Posts
    5

    Default

    Same here... IDENTICAL ERROR and same USB install with persistent changes .. and the error occured only after a Fast Track update-everything

    Waiting for something, in the meantime I`ll be looking into it myself.
    Thx

  3. #3
    Member kazalku's Avatar
    Join Date
    Feb 2009
    Posts
    416

    Default

    Quote Originally Posted by brezuicab View Post
    .. and the error occured only after a Fast Track update-everything
    I didn't update fast track, it happened to me before that. Are you sure that in your case it was working before the update?
    If you can't explain it simply, you don't understand it well enough -- Albert Einstein

  4. #4
    Junior Member
    Join Date
    Mar 2009
    Posts
    83

    Default

    When i had this problem, it was because i had updated my metasploit. It wasn't because I updated my fast-track. Maybe try and reinstall sqlite3. My problems only went as far as needing to type in db_driver. It is possible you may need to install an updated version of sqlite3 or just reinstall sqlite3. I am not sure. give that a go and we'll go from there I guess.

  5. #5
    Member
    Join Date
    Dec 2007
    Location
    @InterN0T
    Posts
    315

    Default

    Update or reinstall sqlite (2 and 3). (There should still be support for both)

    Grab the newest SVN of Metasploit. If it doesn't work try the STABLE. :-)

    It can also be the sqlite plugin itself that is malfunctioning or outdated.

    [-] The functionality previously provided by this plugin has been

    [-] integrated into the core command set. Use the new 'db_driver'

    [-] command to use a database driver other than sqlite3 (which

    [-] is now the default). All of the old commands are the same.

    [-]

    [-] Error while running command load: Deprecated plugin
    Looks like it's deprecated, have you tried using db_driver?
    [quote][I]I realized, that I had fallen down from the top of the mountain into a deep, terrifying and dark hole, just to find out that another mountain in front of me, much greater than the previous, was the next step in life. I began to wander uphill on the next mountain of life while I knew it would be much harder than the previous mountain. [/I]- MaXe[/quote]

  6. #6
    Junior Member
    Join Date
    Mar 2009
    Posts
    83

    Default

    in the OP's initial post it shows he tried to use db_driver. but it came up with unknown command.

    msf > db_driver
    [-] Unknown command: db_driver.
    msf > db_create new
    [-] Unknown command: db_create.
    msf >


    looks like he/she is just going to have to reinstall sqlite

  7. #7
    Member kazalku's Avatar
    Join Date
    Feb 2009
    Posts
    416

    Default

    Quote Originally Posted by laffing_man View Post
    in the OP's initial post it shows he tried to use db_driver. but it came up with unknown command.

    msf > db_driver
    [-] Unknown command: db_driver.
    msf > db_create new
    [-] Unknown command: db_create.
    msf >

    looks like he/she is just going to have to reinstall sqlite
    Thanks man, I'll give the reinstall a go...
    If you can't explain it simply, you don't understand it well enough -- Albert Einstein

  8. #8
    Member kazalku's Avatar
    Join Date
    Feb 2009
    Posts
    416

    Default

    Update: downloaded a fresh copy of BT4b, prepared DVD, without updating anything tried the load db_sqlite3 under msf3 and it worked.

    Then, updated it
    root@bt:~# cd /pentest/exploits/framework3/
    root@bt:/pentest/exploits/framework3# sudo svn update
    Now, everything is gone bad........ load db_sqlite3 doesn't work anymore, db_driver is broken as well. Any idea why it's happening?
    If you can't explain it simply, you don't understand it well enough -- Albert Einstein

  9. #9
    Member imported_vvpalin's Avatar
    Join Date
    Apr 2009
    Posts
    442

    Default

    I dunno but i got this same thing the other day. I thought i was the only one so i didnt post about it

    I did a full wipe and updated everything just like before and it hasnt happened yet.

    Weird shit is weird.
    Using backtrack for the first time is like being 10 years old again with the keys to a Ferrari.

  10. #10
    Junior Member
    Join Date
    Mar 2009
    Posts
    83

    Default

    yea, it is kind of odd. I have BT4b installed to an HDD on an IBM thinkpad i have. Did the update and it works completely fine, aside from having to type db_driver. Installed it in a VM and some of the problems come up after update.

    I wanted to make sure it wasn't just because it was in a VM. So I installed it on a friends laptop did the update and he has problems on his machine. Not really sure where the issues are coming from.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •