Sunday, December 11, 2011

Metasploit with MySQL support by C1ph3r

Metasploit allows us storing scan/exploitation results into databases for persistent storage.
In blackbuntu support Postgresql(defaults), mysql as database b ack-end.
This will show you how to use MySQL support..


1.switch to root account and use ruby 1.9.2 via rvm

2. Start framework-postgresql services (to avoid error massage when run msfconsole) and start mysql service

3. run msfconsole

4. when you type db_status you will see postgresql are default and already connected

5. use mysql with command "db_driver mysql" and connect with command "db_connect root:toor@localhost/pentest"

6. example when run db_nmap

Credits: C1ph3r

0 comments for "Metasploit with MySQL support by C1ph3r"

Post a Comment

background