yo tengo un problema similar no puedo acceder a la base de datos ni por sqlite3 ni por mysql
Code:
msf > db_connect msftable.db
[-] Note that sqlite is not supported due to numerous issues.
[-] It may work, but don't count on it[*] Successfully connected to the database[*] File: msftable.db
entonces opte por instalar la gema de mysql, y configurar la base de datos. hasta ahi normal, pero cuando intento acceder a la base de datos me da el siguiente error:
Code:
msf > db_driver mysql[*] Using database driver mysql
msf > db_connect root:kyokosama@localhost/msftable
[-] 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:1415:in `db_connect_mysql'
/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1262: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:141:in `run'
/opt/metasploit3/msf3/msfconsole:112:in `<main>'
msf >
alguna idea?