This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdot.env
111 lines (83 loc) · 3.88 KB
/
dot.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Competition name and logo. Set COMPETITION_LOGO to be 0 if you don't have one
# (or don't want it displayed)
COMPETITION_NAME="Cyber^3"
COMPETITION_LOGO=0
# Competition url. FULL url (including http/https). No trailing slash.
COMPETITION_URL="http://localhost.localdomain"
# 2 = ALL Errors // 1 = All errors, no stack trace // 0 = Production
DEBUG=2
# Used for security, yo. We use the security salt when dealing with logins.
# We don't use the second one, but yolo still set it.
SECURITY_SALT=""
SECURITY_CIPHER_SEED="" # Must be numeric!
# Timezone Configuration. Must be a value from this webpage:
# https://secure.php.net/manual/en/timezones.php
TIMEZONE_USER="America/New_York"
# DB Configuration for the inject and score engine
INJECTENGINE_DB="mysql://user:password@localhost/injectengine?encoding=utf8"
SCOREENGINE_DB="mysql://user:password@localhost/scoreengine?encoding=utf8"
# Inject Inbox Stream View
# The stream view displays all injects in one page. Stream view is better used
# during competitions that use manual/flag inject types
INJECT_INBOX_STREAM_VIEW=0
# Allow users in the blue team group to change their password
FEATURE_BLUE_PASSWORD_CHANGES=0
# Allow injects to have a "help" button where they can request assistance
FEATURE_HELP_SUBSYSTEM=0
# Allow injects to have a hint button, which can display preconfigured hints
FEATURE_HINT_SUBSYSTEM=0
# Inject Company Domain
INJECT_COMPANY_DOMAIN="your-company.ie2"
# ChatOps? 0 = Disabled, 1 = Mattermost, 2 = Slack
CHATOPS_SERVICE=0
# ChatOps Mattermost Configuration
MATTERMOST_WEBHOOK_URL=""
# ChatOps Slack Configuration
SLACK_APIKEY="xoxp-xxxx-xxxx-xxxx-xxxx"
BANKWEB_SLACK_CHANNEL="#bank"
# ---------------------------------------------
# ScoreEngine Configuration
# ---------------------------------------------
FEATURE_SCOREENGINE=1
SCOREENGINE_BOARD_SHOW_INJECTS=1
# ---------------------------------------------
# BankWeb (Integration with Bank-API) Configuration
# ---------------------------------------------
FEATURE_BANKWEB=1
BANKAPI_SERVER="http://127.0.0.1:8080"
BANKAPI_TIMEOUT=5
BANKWEB_WHITETEAM_ACCOUNT="0000001337"
BANKWEB_USERINPUT_MAX=200
BANKWEB_PUBLIC_APIINFO=1
# ---------------------------------------------
# Optional stuff. 99.9% of the time, you can leave
# these values as defaults
# ---------------------------------------------
# Application name. You can leave this at it's default (ie2) for 99.99% of the time
# You will know when you have to change this.
APP_NAME="ie2"
# Group mappings. Typically the install command does the following mappings
# GID #1 = Staff // GID #2 = Blue Teams // GID #3 = Administration Team // GID #4 = White Team
GROUP_STAFF=1
GROUP_BLUE=2
GROUP_ADMINS=3
GROUP_WHITE=4
# Session timeout (in minutes). By default, the session will last for 24 hours.
SESSION_COOKIE_TIMEOUT=1440
# Enable X-Forwarded-For. Caution, security risk!
X_FORWARDED_ENABLED=0
# ---------------------------------------------
# Don't change anything below this line
# Or do. I'm just a line in a file, not a cop.
# ---------------------------------------------
DATABASE_TEST_URL="mysql://user:password@localhost/test_database_name?encoding=utf8"
CACHE_URL="file:///CACHE/?prefix=APP_NAME_&duration=${CACHE_DURATION}"
CACHE_DURATION=3600
CACHE_DEBUG_KIT_URL="file:///CACHE/?prefix=APP_NAME_debug_kit_&duration=${CACHE_DURATION}"
CACHE_CAKE_CORE_URL="file:///CACHE/?prefix=APP_NAME_cake_core_&duration=${CACHE_DURATION}"
CACHE_CAKE_MODEL_URL="file:///CACHE/?prefix=APP_NAME_cake_model_&duration=${CACHE_DURATION}"
LOG_URL="file:///LOGS/?types=notice,info,debug&file=debug"
LOG_ERROR_URL="file:///LOGS/?types=warning,error,critical,alert,emergency&file=error"
EMAIL_URL="mail://localhost/?from=${APP_NAME}@localhost"
EMAIL_SMTP_URL="smtp://user:secret@localhost:25/?from[APP_NAME@localhost]=Inject+Engine&timeout=30"
EMAIL_FAST_URL="smtp://user:secret@localhost:25/?from=APP_NAME@localhost&messageId=1&template=0&layout=0&timeout=30"