ColdCore/config.py

17 lines
640 B
Python
Raw Normal View History

2015-11-08 06:10:26 +00:00
ctf_name = "TJCTF"
eligibility = "In order to be eligible for prizes, all members of your team must be in high school, and you must not have more than four team members."
2015-11-08 19:04:02 +00:00
tagline = "a cybersecurity competition created by TJHSST students"
2015-11-08 06:10:26 +00:00
competition_is_running = True
2015-11-10 04:41:07 +00:00
cdn = False
2015-11-08 06:10:26 +00:00
proxied_ip_header = "X-Forwarded-For"
flag_rl = 10
2015-11-08 19:04:02 +00:00
teams_on_graph = 10
2015-11-09 02:44:04 +00:00
mail_from = "tjctf@sandbox1431.mailgun.org"
2015-11-08 19:04:02 +00:00
# Don't touch these. Instead, copy secrets.example to secrets and edit that.
import yaml
from collections import namedtuple
with open("secrets") as f:
_secret = yaml.load(f)
secret = namedtuple('SecretsDict', _secret.keys())(**_secret)