Metasploit Framework MySQL

From BackTrack Linux
Jump to: navigation, search

Metasploit Framework with MySQL Support

With a recent bugfix, we have simplified the steps required to use MySQL as a back-end to the Metasploit Framework.

root@bt:~# apt-get update
root@bt:~# apt-get dist-upgrade
root@bt:~# service mysql start
root@bt:~# msfconsole

A db_driver command should show the availability of the MySQL option:

msf >db_driver
[*]    Active Driver: postgresql
[*]        Available: postgresql, mysql

msf >

Go ahead and connect to the database using the default MySQL root password toor:

msf >db_driver mysql
[*] Using database driver mysql
msf > db_connect root:toor@127.0.0.1/msf3
msf >