Browse Source

Revert "change to .gitignore"

This reverts commit 6747ba91ed.
Tod Beardsley 5 years ago
parent
commit
1cdff92e72
2 changed files with 33 additions and 1 deletions
  1. 0
    1
      .gitignore
  2. 33
    0
      config/database.yml.example

+ 0
- 1
.gitignore View File

@@ -11,7 +11,6 @@
11 11
 .DS_Store
12 12
 # database config for testing
13 13
 config/database.yml
14
-config/database.yml.example
15 14
 # simplecov coverage data
16 15
 coverage
17 16
 data/meterpreter/ext_server_pivot.x86.dll

+ 33
- 0
config/database.yml.example View File

@@ -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: ___________________________

Loading…
Cancel
Save