fixing parameters, more secure
parent
6f2b3d0dc0
commit
475fc1ce02
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -7,3 +7,4 @@ pyyaml
|
|||
oath
|
||||
pycountry
|
||||
psycopg2
|
||||
spur
|
||||
|
|
Loading…
Reference in New Issue