Home page logo

metasploit logo Metasploit mailing list archives

Re: How to connect to databases other than sqlite3?
From: Raul Millan <raul () cdsi com pa>
Date: Sun, 13 Jun 2010 18:32:53 -0500

I had the same problem with sqlite 3 and the generalized answer was to move
away from it and work with MySQL or PostgreSQL, which I did. In version 3.4
the PostgreSQL drivers connect fine to my external postgress installation
and I can query the db from wherever I allow it to, and I see the data added
to the db everytime I use it.

I would recommend going with PostgreSQL, I have MSF and PostgreSQL installed
in Windows 7 64bits working fine now, I don't think the conf would be much
different in Linux.


On Sun, Jun 13, 2010 at 6:21 PM, Andrea Grandi <a.grandi () gmail com> wrote:

Hi all,

I've just started playing with Metasploit framework. I've configure my
netbook (Asus EeePC 1005PE) following this howto:
and I'm able to create a "Free Wifi" hotspot where my phone (a Nokia
N900) can connect without any problem.

My problem is making metasploit work. After some problems
creating/connecting to sqlite3 database (using this file
http://metasploit.com/users/hdm/tools/karma.rc I modified the first
lines and created the database externally.

Anyway when I start it, metasploit says that sqlite3 has lot of
issues, it could works but even not ecc.... infact at the end I don't
see anything new in the database, so I suppose I'm having problemi
writing to the database.

I'd like to try MySQL instead of sqlite3, but I cannot find any
documentation in your website so I don't know how to modify the .rc
script to connect and write to the database.

I've another question now: let's suppose I'll be able to wite to the
MySQL database, what kind of data I'm going to find there? If I can
understand well, Metasploit should be able to collect any kind of
credentials, for example if I try to connect to Skype, MSN, VOIP,
Facebook ecc... from my N900, I sould find those data in the database,
is this right? How do I analize the data I collected?

Thanks for your help.


Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc

Raúl E. Millán
Consultores de Seguridad Informática
Phone:   +507-317-1316/394-9504
Mobile:   +507-6670-1221
Fax:       +507 394-9514
Email:     raul () cdsi com pa
Web:       http://www.cdsi.com.pa
Twitter:    http://twitter.com/cdsicompa

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]