fixing parameters, more secure

master
James Sigurðarson 2016-08-12 10:49:41 +01:00
parent 6f2b3d0dc0
commit 475fc1ce02
3 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@ shell_max_accounts = 99999
shell_user_creation = "sudo useradd -m {username} -p {password} -g ctf -b /home_users"
# when the competition begins
competition_begin = datetime(1970, 1, 1, 0, 0)
competition_end = datetime(2018, 1, 1, 0, 0)

View File

@ -13,7 +13,7 @@ def run():
shell = spur.SshShell(
hostname=config.secrets.shell_host,
username=config.secrets.shell_username,
password=config.secrets.shell_password,
private_key_file=config.secrets.shell_privkey,
port=config.shell_port,
missing_host_key=spur.ssh.MissingHostKey.accept
)

View File

@ -7,3 +7,4 @@ pyyaml
oath
pycountry
psycopg2
spur