Skip to content

Commit f1b6f5a

Browse files
authored
Merge pull request #2067 from OWASP/updatechallengetexts
Update challenge texts of 52, 39 and Railway
2 parents e33203a + 530a8d2 commit f1b6f5a

19 files changed

+189
-186
lines changed

.github/scripts/.bash_history

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ rm -rf jdk-18_linux-x64_bin.deb
347347
git rebase -i main
348348
git rebase -i master
349349
git stash
350-
export tempPassword="IOfAFScOnhRPkLgA89tVOnOvZKrJx87Vz5YjTnsk4Ts="
350+
export tempPassword="a7qAL+lYCgK0+NIEnoMDSxEBV+FUZHRTS1KH4YHCqY0="
351351
mvn run tempPassword
352352
k6
353353
npx k6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM bellsoft/liberica-openjre-debian:23.0.2-9-cds AS builder
22
WORKDIR /builder
33

4-
ARG argBasedVersion="1.11.2D"
4+
ARG argBasedVersion="1.12.0"
55

66
COPY --chown=wrongsecrets target/wrongsecrets-${argBasedVersion}-SNAPSHOT.jar application.jar
77
RUN java -Djarmode=tools -jar application.jar extract --layers --destination extracted

Dockerfile.web

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM jeroenwillemsen/wrongsecrets:1.11.3A3-no-vault
2-
ARG argBasedVersion="1.11.3A3-no-vault"
1+
FROM jeroenwillemsen/wrongsecrets:1.12.0-no-vault
2+
ARG argBasedVersion="1.12.0-no-vault"
33
ARG CANARY_URLS="http://canarytokens.com/terms/about/s7cfbdakys13246ewd8ivuvku/post.jsp,http://canarytokens.com/terms/about/y0all60b627gzp19ahqh7rl6j/post.jsp"
44
ARG CTF_ENABLED=false
55
ARG HINTS_ENABLED=true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ Want to deploy yourself with Render? Click the button below:
156156
### Running these on Railway
157157
*status: maintained by [alphasec.io](https://github.com/alphasecio)*
158158

159-
If you want to host WrongSecrets on Railway, you can do so by deploying [this one-click template](https://railway.app/new/template/7pnwRj). Railway does not offer an always-free plan anymore, but the free trial is good enough to test-drive this before you decide to upgrade. If you need a step-by-step companion guide, see [this blog post](https://alphasec.io/test-your-secret-management-skills-with-owasp-wrongsecrets/).
159+
If you want to host WrongSecrets on Railway, you can do so by deploying [this one-click template](https://railway.com/deploy/McqJ_j?referralCode=I07F1). Railway does not offer an always-free plan anymore, but the free trial is good enough to test-drive this before you decide to upgrade. If you need a step-by-step companion guide, see [this blog post](https://alphasec.io/test-your-secret-management-skills-with-owasp-wrongsecrets/).
160160

161-
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/7pnwRj)
161+
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/McqJ_j?referralCode=I07F1j)
162162

163163
## Basic K8s exercise
164164

aws/k8s/secret-challenge-vault-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
volumeAttributes:
5959
secretProviderClass: "wrongsecrets-aws-secretsmanager"
6060
containers:
61-
- image: jeroenwillemsen/wrongsecrets:1.11.2-k8s-vault
61+
- image: jeroenwillemsen/wrongsecrets:1.12.0-k8s-vault
6262
imagePullPolicy: IfNotPresent
6363
name: secret-challenge
6464
command: ["/bin/sh"]

azure/k8s/secret-challenge-vault-deployment.yml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
volumeAttributes:
6262
secretProviderClass: "azure-wrongsecrets-vault"
6363
containers:
64-
- image: jeroenwillemsen/wrongsecrets:1.11.2-k8s-vault
64+
- image: jeroenwillemsen/wrongsecrets:1.12.0-k8s-vault
6565
imagePullPolicy: IfNotPresent
6666
name: secret-challenge
6767
command: ["/bin/sh"]

config/zap/rule-config.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
90005 IGNORE Sec-Fetch-Dest Header is Missing
1818
10003 IGNORE Vulnerable JS Library
1919
90004 IGNORE Insufficient Site Isolation Against Spectre Vulnerability
20+
2 IGNORE Private IP Disclosure

fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ app = "wrongsecrets"
88
primary_region = "ams"
99

1010
[build]
11-
image = "docker.io/jeroenwillemsen/wrongsecrets:1.11.2-no-vault"
11+
image = "docker.io/jeroenwillemsen/wrongsecrets:1.12.0-no-vault"
1212

1313
[env]
1414
K8S_ENV = "Fly(Docker)"

gcp/k8s/secret-challenge-vault-deployment.yml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
volumeAttributes:
5959
secretProviderClass: "wrongsecrets-gcp-secretsmanager"
6060
containers:
61-
- image: jeroenwillemsen/wrongsecrets:1.11.3A3-k8s-vault
61+
- image: jeroenwillemsen/wrongsecrets:1.12.0-k8s-vault
6262
imagePullPolicy: IfNotPresent
6363
name: secret-challenge
6464
command: ["/bin/sh"]

js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
function secret() {
3-
var password = "fMEUrtc=" + 9 + "GUzh" + 6 + "Sxg=" + 2 + "KhuK" + 7;
3+
var password = "Yisaz88=" + 9 + "l1+2" + 6 + "5cc=" + 2 + "F9qt" + 7;
44
return password;
55
}

0 commit comments

Comments
 (0)