Results 1 to 7 of 7

Thread: No Drivers available in msfconsole

  1. #1
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Question No Drivers available in msfconsole

    Hello everyone,

    thanks for the shiny new and cool distro. I really love the gnome flavour.
    I just got one problem with it.

    I have no driver in the msfconsole if i type db_driver i get the following output (on every machine)
    Code:
    root@bt:~# /pentest/exploits/framework3/msfconsole 
    
                    __.                       .__.        .__. __.
      _____   _____/  |______    ____________ |  |   ____ |__|/  |_
     /     \_/ __ \   __\__  \  /  ___/\____ \|  |  /  _ \|  \   __\
    |  Y Y  \  ___/|  |  / __ \_\___ \ |  |_> >  |_(  <_> )  ||  |
    |__|_|  /\___  >__| (____  /____  >|   __/|____/\____/|__||__|
          \/     \/          \/     \/ |__|
    
    
           =[ metasploit v3.7.0-release [core:3.7 api:1.0]
    + -- --=[ 684 exploits - 355 auxiliary
    + -- --=[ 217 payloads - 27 encoders - 8 nops
    
    msf > db_driver [*] No Active Driver[*]        Available: 
    [*]     DB Support: Enable the mysql driver with the following command:[*]                 $ gem install mysql[*]     This gem requires mysqlclient headers, which can be installed on Ubuntu with:[*]                 $ sudo apt-get install libmysqlclient-dev
    [*]     DB Support: Enable the postgresql driver with the following command:[*]                   * This requires libpq-dev and a build environment[*]                 $ gem install postgres[*]                 $ gem install pg # is an alternative that may work
    
    msf >
    It is not possible for me to build a driver with the "gem install" i have tried a lot - is this an issue or is it my fault?

    Thanks very much and keep on that good work! Thanks a lot!


    -> Ressource: http://www.offensive-security.com/me...ring_Databases

  2. #2
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Default Re: No Drivers available in msfconsole

    I can confirm that (32Bit and 64Bit KDE version)

    the problem seems to be related with the included ruby installation. by default msfconsole uses ruby from $PATH but if you edit msfconsole to use "../ruby/bin/ruby" instead of "/usr/bin/env ruby" it has all the drivers available...

    but you will then run into the next problem... included msf nmap doesn't work... (atleast for me)

  3. #3
    Just burned his ISO
    Join Date
    Sep 2010
    Posts
    2

    Default Re: No Drivers available in msfconsole

    Just start msfconsole from BT5 menu or as /usr/local/bin/msfconsole. everything will work.

  4. #4
    Just burned his ISO
    Join Date
    May 2011
    Posts
    7

    Thumbs up Re: No Drivers available in msfconsole

    Quote Originally Posted by vasya749 View Post
    Just start msfconsole from BT5 menu or as /usr/local/bin/msfconsole. everything will work.
    That did it. Running directly from /pentest/exploits/framework3 didn't call the setenv scripts so stuff was missing. Thanks!

  5. #5
    Junior Member 5cardcharlie's Avatar
    Join Date
    Sep 2010
    Location
    Ohio
    Posts
    45

    Default Re: No Drivers available in msfconsole

    Fast-Track's autopwn runs into this problem when it calls msf and isn't functional.

  6. #6
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Default

    Quote Originally Posted by 5cardcharlie View Post
    Fast-Track's autopwn runs into this problem when it calls msf and isn't functional.
    Jeah this a at least the last problem! Thanks for the advise with the script!

    Also if you want to work at runlevel 3
    Last edited by Archangel-Amael; 05-16-2011 at 05:49 PM.

  7. #7
    Just burned his ISO
    Join Date
    May 2011
    Posts
    2

    Default Re: No Drivers available in msfconsole

    same error occuring to me, help anybody to fix it..........

Similar Threads

  1. msfconsole issue
    By mackbet in forum Beginners Forum
    Replies: 1
    Last Post: 10-06-2010, 04:54 AM
  2. msfcli / msfconsole timouts
    By TAPE in forum Experts Forum
    Replies: 6
    Last Post: 06-07-2010, 09:34 PM
  3. msfconsole and audit trails
    By 18436572 in forum Beginners Forum
    Replies: 0
    Last Post: 02-22-2010, 07:41 PM
  4. Metasploit 3.3 - MsfConsole
    By regedit in forum OLD Newbie Area
    Replies: 0
    Last Post: 01-22-2010, 11:06 AM
  5. Metasploit 3.3 - MsfConsole
    By regedit in forum Angolo dei Newbie
    Replies: 0
    Last Post: 01-21-2010, 07:53 PM

Posting Permissions

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