Skip to content

Commit 18f1bdb

Browse files
committed
Merge pull request #1 from todb-r7/fix-pr3570
Revert "change to .gitignore"
2 parents 03f68e2 + 1cdff92 commit 18f1bdb

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
.DS_Store
1212
# database config for testing
1313
config/database.yml
14-
config/database.yml.example
1514
# simplecov coverage data
1615
coverage
1716
data/meterpreter/ext_server_pivot.x86.dll

config/database.yml.example

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Please only use postgresql bound to a TCP port.
2+
# Only postgresql is supportable for metasploit-framework
3+
# these days. (No SQLite, no MySQL).
4+
#
5+
# To set up a metasploit database, follow the directions hosted at:
6+
# https://fedoraproject.org/wiki/Metasploit_Postgres_Setup (Works on
7+
# essentially any Linux distro, not just Fedora)
8+
development: &pgsql
9+
adapter: postgresql
10+
database: metasploit_framework_development
11+
username: metasploit_framework_development
12+
password: __________________________________
13+
host: localhost
14+
port: 5432
15+
pool: 5
16+
timeout: 5
17+
18+
# You will often want to seperate your databases between dev
19+
# mode and prod mode. Absent a production db, though, defaulting
20+
# to dev is pretty sensible for many developer-users.
21+
production: &production
22+
<<: *pgsql
23+
24+
# Warning: The database defined as "test" will be erased and
25+
# re-generated from your development database when you run "rake".
26+
# Do not set this db to the same as development or production.
27+
#
28+
# Note also, sqlite3 is totally unsupported by Metasploit now.
29+
test:
30+
<<: *pgsql
31+
database: metasploit_framework_test
32+
username: metasploit_framework_test
33+
password: ___________________________

0 commit comments

Comments
 (0)