Skip to content

Commit ca94937

Browse files
committed
Added some steps on how to use 2-domain system
1 parent 2a4eebc commit ca94937

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

aws/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Now visit the CTFd instance and setup your CTF. If you haven't set up a load bal
8383
_!!NOTE:_ **The following can be dangerous if you use CTFd `>= 3.5.0` with wrongsecrets `< 1.5.11`. Check the `challenges.json` and make sure it's 1-indexed - a 0-indexed file will break CTFd!** _/NOTE!!_
8484

8585
Then use the administrative backup function to import the zipfile you created with the juice-shop-ctf command.
86-
After that you will still need to override the flags with their actual values if you do use the 2-domain configuration.
86+
After that you will still need to override the flags with their actual values if you do use the 2-domain configuration. For a guide on how to do this see the 2-domain setup steps in the general [README](../readme.md)
8787
Want to setup your own? You can! Watch out for people finding your key though, so secure it properly: make sure the running container with the actual ctf-key is not exposed to the audience, similar to our heroku container.
8888

8989
Want to make the CTFD instance look pretty? Include the fragment located at [./k8s/ctfd_resources/index_fragment.html](/k8s/ctfd_resources/index_fragment.html) in your index.html via the admin panel.

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ You need 2 things:
8585
- This infrastructure
8686
- A CTFD/Facebook-CTF host which is populated with the challenges based on your secondary hosted WrongSecrets application (this can be the helm chart included in the EKS installation script)
8787

88+
To use the 2 domain setup with CTFD:
89+
90+
1. Set up the CTFD and WrongSecrets instances using your preferred method and docs e.g. AWS and the docs [here](aws/README.md).
91+
2. Set up a team with spoilers available (On AWS this can be done by changing the deployment of a team you have created and setting ctf-mode=false).
92+
3. Use these spoilers to manually copy the answers from WrongSecrets to CTFD.]
93+
4. Delete the team used to get these spoilers (On AWS you can delete the entire namespace of the team)
94+
8895
### General Helm usage
8996

9097
This setup works best if you have Calico installed as your CNI, if you want to use the helm directly, without the AWS Challenges, do:

0 commit comments

Comments
 (0)