challenge changes

This commit is contained in:
Pin
2022-12-27 21:10:29 -05:00
parent 97580ab120
commit f99d4d6a01
5 changed files with 27 additions and 44 deletions

View File

@@ -6,9 +6,10 @@ This is a simple challenge utilizing docker-compose to setup a ssh client/contro
Running `docker-compose up -d --build` will setup a default environment.
Users will be setup on the client using the teamX format.
Initial user password can be obtained from the container logs of `client`.
Login with the default user `user` and check the container logs for the generated password.
The default password can be manually overridden with the `USER_PASSWORD` variable on the client host.
All "scoring" public/private keys will be stored under a local `keys` directory.
If the `user` key already exists a new one will not be created
## Goal
@@ -19,3 +20,5 @@ Since could take up to a minute to show up after completion.
For added complexity, the `SSHD_CHALLENGE_DIR` exists changing the default AuthorizedKeysFile within SSHD.
This adds a further challenge since teams will need to checkout the configuration in `/etc/ssh/sshd_config` for the correct structure.
The text which gets dumped into `~/.flag` can be controlled via the `SCORING_FLAG` variable.