diff --git a/.github/scripts/docker-create-and-push.sh b/.github/scripts/docker-create-and-push.sh index c767ca8bd..78b91d44e 100755 --- a/.github/scripts/docker-create-and-push.sh +++ b/.github/scripts/docker-create-and-push.sh @@ -16,7 +16,7 @@ echo "tagging version" docker buildx create --name mybuilder docker buildx use mybuilder echo "generating challenge 12-data" -openssl rand -base64 32 > yourkey.txt +openssl rand -base64 32 | tr -d '\n' > yourkey.txt echo "creating containers" docker buildx build --platform linux/amd64,linux/arm64 -t jeroenwillemsen/addo-example:$1-no-vault --build-arg "$3" --build-arg "PORT=8081" --build-arg "argBasedVersion=$1" --build-arg "spring_profile=without-vault" --push ./../../. docker buildx build --platform linux/amd64,linux/arm64 -t jeroenwillemsen/addo-example:$1-local-vault --build-arg "$3" --build-arg "PORT=8081" --build-arg "argBasedVersion=$1" --build-arg "spring_profile=local-vault" --push ./../../. diff --git a/README.md b/README.md index 828fb0c94..46ba3127c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Welcome to the OWASP WrongSecrets p0wnable app. With this app, we have packed various ways of how to not store your secrets. These can help you to realize whether your secret management is ok. The challenge is to find all the different secrets by means of various tools and techniques. -Can you solve all the 11 challenges? +Can you solve all the 12 challenges? ![screenshot.png](screenshot.png) ## Support @@ -13,7 +13,7 @@ Need support? Contact us via [OWASP Slack](https://owasp.slack.com/archives/C02K ## Basic docker exercises -_Can be used for challenges 1-4, 8_ +_Can be used for challenges 1-4, 8, 12_ For the basic docker exercises you currently require: @@ -33,7 +33,8 @@ Now you can try to find the secrets by means of solving the challenge offered at - [localhost:8080/challenge/3](http://localhost:8080/challenge/3) - [localhost:8080/challenge/4](http://localhost:8080/challenge/4) - [localhost:8080/challenge/8](http://localhost:8080/challenge/8) - +- [localhost:8080/challenge/8](http://localhost:8080/challenge/12) +- Note that these challenges are still very basic, and so are their explanations. Feel free to file a PR to make them look better ;-). ### Running these on Heroku @@ -50,7 +51,7 @@ You can test them out at Challenge 9 Challenge 10 Challenge 11 + Challenge 12