rufus777 Posted March 7, 2011 Posted March 7, 2011 when I use Metasploit when I use the "mysql", but there are several driver: postgresql, mysql and sqlite3. Why? Quote
Mr-Protocol Posted March 7, 2011 Posted March 7, 2011 Support for multiple databases. The names of them alone should have given that away. Quote
digip Posted March 8, 2011 Posted March 8, 2011 Different things work with different databases. Metasploit can work with all of them, but something like Armitage for example, is set to use MySQL when working with Metasploit. Quote
tbstuntz Posted March 8, 2011 Posted March 8, 2011 Would anyone know how to install just the MYSQL driver for metasploit? I have the other two but I cant run armitage because the MYSQL isnt present? Quote
Mr-Protocol Posted March 8, 2011 Posted March 8, 2011 (edited) Your problem isnt a MYSQL driver, it's that you dont have MYSQL running.... Metasploit has like 4 different database drivers built in. They are meant to work with an external database. If you dont have the database running well then that's your problem. Read a bit more about metasploit and things will become clear. http://www.offensive-security.com/metasploit-unleashed/Metasploit_Unleashed_Information_Security_Training Edited March 8, 2011 by Mr-Protocol Quote
tbstuntz Posted March 8, 2011 Posted March 8, 2011 I'm running backtrack 4 R2. Armitage is installed along with metasploit. I start MYSQL with /etc/init.d/mysql start then the credentials msfrpcd -f -U msf -P test -t Basic. But when I try to connect via armitiage I get an incorrect driver error. After some googling I found a fix that said I was to load up msfconsole then change the metasploit database with db_driver mysql. I only have the other two though? Quote
Mr-Protocol Posted March 8, 2011 Posted March 8, 2011 svn update the metasploit directory run msfconsole and it will initialize database. Pretty sure metasploit is set to use mysql for default. Quote
digip Posted March 8, 2011 Posted March 8, 2011 Unless you change the mySQL settings, I believe they have to use the default root:toor login. no matter what you passwd change your shell password to.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.