2013-04-19 20:43:25 +00:00
|
|
|
# To set up a metasploit database, follow the directions hosted at:
|
2015-06-16 16:05:03 +00:00
|
|
|
# http://r-7.co/MSF-DEV#set-up-postgresql
|
2016-02-16 15:12:34 +00:00
|
|
|
#
|
|
|
|
# Kali Linux and the Omnibus installers both include an easy wrapper script for
|
|
|
|
# managing your database, which may be more convenient than rolling your own.
|
|
|
|
|
2013-03-14 20:46:18 +00:00
|
|
|
development: &pgsql
|
|
|
|
adapter: postgresql
|
|
|
|
database: metasploit_framework_development
|
|
|
|
username: metasploit_framework_development
|
|
|
|
password: __________________________________
|
|
|
|
host: localhost
|
|
|
|
port: 5432
|
2016-02-16 15:12:34 +00:00
|
|
|
pool: 200
|
2013-03-14 20:46:18 +00:00
|
|
|
timeout: 5
|
|
|
|
|
2013-04-19 20:43:25 +00:00
|
|
|
# You will often want to seperate your databases between dev
|
|
|
|
# mode and prod mode. Absent a production db, though, defaulting
|
|
|
|
# to dev is pretty sensible for many developer-users.
|
|
|
|
production: &production
|
|
|
|
<<: *pgsql
|
|
|
|
|
2013-03-14 20:46:18 +00:00
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
#
|
|
|
|
# Note also, sqlite3 is totally unsupported by Metasploit now.
|
|
|
|
test:
|
|
|
|
<<: *pgsql
|
|
|
|
database: metasploit_framework_test
|
|
|
|
username: metasploit_framework_test
|
|
|
|
password: ___________________________
|