Results 1 to 3 of 3

Thread: Metasploit and autopwn

  1. #1
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    4

    Default Metasploit and autopwn

    hi there , this is my first discussion so please don't kill me if I do something wrong
    I have a in metasploit when i do :

    msf > db_driver mysql [*] Using database driver mysql
    msf > db_connect metasplotit
    [-] Error while running command db_connect: Failed to connect to the database: uninitialized constant MysqlCompat::MysqlRes

    Call stack:
    /opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1598:in `db_connect_mysql'
    /opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1445:in `cmd_db_connect'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `block in run_single'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'
    /opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'
    /opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:143:in `run'
    /opt/metasploit3/msf3/msfconsole:117:in `<main>'

    I think that it's a mysql problem but I don't find any solution on google... can u help me please? thanks a lot

  2. #2

    Default Re: Metasploit and autopwn

    well, for test purposes it is fine to use sqlite3 instead mysql

    db_driver sqlite3
    db_connect /tmp/dummy.db

    HD recommends to use postgres:
    Metasploit Framework - Postgres setup - Metasploit Redmine Interface

    /brtw2003

  3. #3
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    4

    Default Riferimento: Metasploit and autopwn

    sqlite3 is no longer used
    I woudl like to use mysql (thanks for the question

Similar Threads

  1. Metasploit Autopwn (via BeEF)
    By purehate in forum OLD BT4 Videos
    Replies: 0
    Last Post: 10-01-2009, 01:25 PM
  2. Metasploit autopwn
    By Kaskra in forum OLD Newbie Area
    Replies: 6
    Last Post: 03-05-2009, 11:22 AM
  3. Metasploit + Cygwin + autopwn
    By opreat0r in forum OLD Pentesting
    Replies: 1
    Last Post: 08-14-2008, 09:34 AM
  4. autopwn in Metasploit 3.0
    By RoboticTao in forum OLD Newbie Area
    Replies: 1
    Last Post: 12-24-2007, 06:31 PM
  5. AUTOPWN in Metasploit
    By Vagabond in forum OLD Pentesting
    Replies: 2
    Last Post: 08-06-2007, 02:23 AM

Tags for this Thread

Posting Permissions

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