├── .dependabot └── config.yml ├── .dockerignore ├── .editorconfig ├── .eslintrc.cjs ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ ├── config.yml │ └── feature-request.md ├── PULL_REQUEST_TEMPLATE.md ├── lock.yml ├── stale.yml └── workflows │ ├── ci.yml │ ├── greetings.yml │ ├── lint-fixer.yml │ ├── rebase.yml │ ├── release.yml │ └── update-news-www.yml ├── .gitignore ├── .gitlab-ci.yml ├── .mailmap ├── CONTRIBUTING.md ├── Dockerfile ├── HALL_OF_FAME.md ├── LICENSE ├── README.md ├── SECURITY.md ├── bin └── juice-shop-ctf.ts ├── data ├── fbctfImportTemplate.json └── rtbImportTemplate.json ├── hooks └── build ├── images ├── JuiceShopCTF_Logo.ai ├── JuiceShopCTF_Logo.png ├── JuiceShopCTF_Logo.svg ├── JuiceShopCTF_Logo_100px.png ├── JuiceShopCTF_Logo_400px.png ├── JuiceShopCTF_Logo_50px.png ├── favicon_ctf.ico ├── git-stats.png └── juice-shop-ctf-cli.png ├── index.ts ├── lib ├── calculateHintCost.ts ├── calculateScore.ts ├── fetchChallenges.ts ├── fetchCountryMapping.ts ├── fetchHints.ts ├── fetchSecretKey.ts ├── generators │ ├── ctfd.ts │ ├── fbctf.ts │ ├── index.ts │ └── rtb.ts ├── hmac.ts ├── options.ts ├── readConfigStream.ts ├── types │ └── types.ts ├── url.ts ├── writeToCtfdCsv.ts ├── writeToFbctfJson.ts └── writeToRtbXml.ts ├── package.json ├── test ├── e2e │ └── juiceShopCtfCli.spec.ts ├── juice-shop-ctfd-3_6.csv └── unit │ ├── calculateHintCost.spec.ts │ ├── calculateScore.spec.ts │ ├── fetchChallenges.spec.ts │ ├── fetchCountryMapping.spec.ts │ ├── fetchSecretKey.spec.ts │ ├── generateCtfdData.spec.ts │ ├── generateFbctfData.spec.ts │ ├── generateRtbData.spec.ts │ ├── hmac.spec.ts │ ├── readConfigStream.spec.ts │ ├── url.spec.ts │ ├── utils │ └── mockFileSystem.ts │ ├── writeToCtfdCsv.spec.ts │ ├── writeToFbctfJson.spec.ts │ └── writeToRtbXml.spec.ts └── tsconfig.json /.dependabot/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.dependabot/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: https://sponsor.owasp-juice.shop 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/lock.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/greetings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/greetings.yml -------------------------------------------------------------------------------- /.github/workflows/lint-fixer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/lint-fixer.yml -------------------------------------------------------------------------------- /.github/workflows/rebase.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/rebase.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/update-news-www.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.github/workflows/update-news-www.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/.mailmap -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/Dockerfile -------------------------------------------------------------------------------- /HALL_OF_FAME.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/HALL_OF_FAME.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/SECURITY.md -------------------------------------------------------------------------------- /bin/juice-shop-ctf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/bin/juice-shop-ctf.ts -------------------------------------------------------------------------------- /data/fbctfImportTemplate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/data/fbctfImportTemplate.json -------------------------------------------------------------------------------- /data/rtbImportTemplate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/data/rtbImportTemplate.json -------------------------------------------------------------------------------- /hooks/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/hooks/build -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo.ai -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo.png -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo.svg -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo_100px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo_100px.png -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo_400px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo_400px.png -------------------------------------------------------------------------------- /images/JuiceShopCTF_Logo_50px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/JuiceShopCTF_Logo_50px.png -------------------------------------------------------------------------------- /images/favicon_ctf.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/favicon_ctf.ico -------------------------------------------------------------------------------- /images/git-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/git-stats.png -------------------------------------------------------------------------------- /images/juice-shop-ctf-cli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/images/juice-shop-ctf-cli.png -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/index.ts -------------------------------------------------------------------------------- /lib/calculateHintCost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/calculateHintCost.ts -------------------------------------------------------------------------------- /lib/calculateScore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/calculateScore.ts -------------------------------------------------------------------------------- /lib/fetchChallenges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/fetchChallenges.ts -------------------------------------------------------------------------------- /lib/fetchCountryMapping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/fetchCountryMapping.ts -------------------------------------------------------------------------------- /lib/fetchHints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/fetchHints.ts -------------------------------------------------------------------------------- /lib/fetchSecretKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/fetchSecretKey.ts -------------------------------------------------------------------------------- /lib/generators/ctfd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/generators/ctfd.ts -------------------------------------------------------------------------------- /lib/generators/fbctf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/generators/fbctf.ts -------------------------------------------------------------------------------- /lib/generators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/generators/index.ts -------------------------------------------------------------------------------- /lib/generators/rtb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/generators/rtb.ts -------------------------------------------------------------------------------- /lib/hmac.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/hmac.ts -------------------------------------------------------------------------------- /lib/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/options.ts -------------------------------------------------------------------------------- /lib/readConfigStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/readConfigStream.ts -------------------------------------------------------------------------------- /lib/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/types/types.ts -------------------------------------------------------------------------------- /lib/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/url.ts -------------------------------------------------------------------------------- /lib/writeToCtfdCsv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/writeToCtfdCsv.ts -------------------------------------------------------------------------------- /lib/writeToFbctfJson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/writeToFbctfJson.ts -------------------------------------------------------------------------------- /lib/writeToRtbXml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/lib/writeToRtbXml.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/package.json -------------------------------------------------------------------------------- /test/e2e/juiceShopCtfCli.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/e2e/juiceShopCtfCli.spec.ts -------------------------------------------------------------------------------- /test/juice-shop-ctfd-3_6.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/juice-shop-ctfd-3_6.csv -------------------------------------------------------------------------------- /test/unit/calculateHintCost.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/calculateHintCost.spec.ts -------------------------------------------------------------------------------- /test/unit/calculateScore.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/calculateScore.spec.ts -------------------------------------------------------------------------------- /test/unit/fetchChallenges.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/fetchChallenges.spec.ts -------------------------------------------------------------------------------- /test/unit/fetchCountryMapping.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/fetchCountryMapping.spec.ts -------------------------------------------------------------------------------- /test/unit/fetchSecretKey.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/fetchSecretKey.spec.ts -------------------------------------------------------------------------------- /test/unit/generateCtfdData.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/generateCtfdData.spec.ts -------------------------------------------------------------------------------- /test/unit/generateFbctfData.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/generateFbctfData.spec.ts -------------------------------------------------------------------------------- /test/unit/generateRtbData.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/generateRtbData.spec.ts -------------------------------------------------------------------------------- /test/unit/hmac.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/hmac.spec.ts -------------------------------------------------------------------------------- /test/unit/readConfigStream.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/readConfigStream.spec.ts -------------------------------------------------------------------------------- /test/unit/url.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/url.spec.ts -------------------------------------------------------------------------------- /test/unit/utils/mockFileSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/utils/mockFileSystem.ts -------------------------------------------------------------------------------- /test/unit/writeToCtfdCsv.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/writeToCtfdCsv.spec.ts -------------------------------------------------------------------------------- /test/unit/writeToFbctfJson.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/writeToFbctfJson.spec.ts -------------------------------------------------------------------------------- /test/unit/writeToRtbXml.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/test/unit/writeToRtbXml.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juice-shop/juice-shop-ctf/HEAD/tsconfig.json --------------------------------------------------------------------------------