Skip to content

Commit af81c4e

Browse files
committed
update desktop container
1 parent 1bb401e commit af81c4e

File tree

16 files changed

+76
-69
lines changed

16 files changed

+76
-69
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="LtwkyiHy3lJAEE164GYKtwvp0c18w6AKMwlPmk5Kzn0="
350+
export tempPassword="AsN9cThr08bmwdnn28J399g7EwIqkKnHsEKeXtwllks="
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.12.7"
4+
ARG argBasedVersion="1.12.8"
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.12.7-no-vault
2-
ARG argBasedVersion="1.12.7-no-vault"
1+
FROM jeroenwillemsen/wrongsecrets:1.12.8-no-vault
2+
ARG argBasedVersion="1.12.8-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

Dockerfile_webdesktop

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1-
FROM lscr.io/linuxserver/webtop:4.16-r0-ls95
1+
FROM linuxserver/webtop:latest
22
LABEL NAME="OWASP WrongSecrets Web Desktop" MAINTAINER="Jeroen Willemsen"
33

4-
RUN \
5-
echo "*** install kubectl ***" && \
6-
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&\
7-
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl &&\
8-
rm kubectl
4+
# RUN \
5+
# echo "*** install kubectl ***" && \
6+
# curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&\
7+
# sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl &&\
8+
# rm kubectl
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full ca-certificates libgcc libstdc++ zlib && \
12+
apk add --no-cache shadow keepassxc kubectl radare2 dotnet9-sdk aws-cli geany git gdb build-base icu-libs icu-data-full ca-certificates libgcc libstdc++ zlib && \
1313
echo "**** adding abc user to root for Docker ****" && \
1414
usermod -aG root abc && \
1515
touch /var/run/docker.sock && \
1616
chown abc:abc /var/run/docker.sock && \
1717
echo "**** cleanup ****" && \
1818
rm -rf /tmp/*
1919

20-
RUN \
21-
echo "installing dotnet" && \
22-
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
23-
chmod +x dotnet-install.sh && \
24-
./dotnet-install.sh --install-dir /etc/dotnet --version latest && \
25-
export DOTNET_ROOT=/etc/dotnet && \
26-
export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \
27-
dotnet --info && \
28-
dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
29-
20+
# RUN \
21+
# echo "installing dotnet" && \
22+
# wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
23+
# chmod +x dotnet-install.sh && \
24+
# ./dotnet-install.sh --install-dir /etc/dotnet --version latest && \
25+
# export DOTNET_ROOT=/etc/dotnet && \
26+
# export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \
27+
# dotnet --info && \
28+
# dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
29+
30+
RUN dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
3031
# Add secret handling for Kubernetes-specific Docker builds
3132
# Create the /app directory to store the secret
3233
RUN mkdir -p /app

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.12.7-k8s-vault
61+
- image: jeroenwillemsen/wrongsecrets:1.12.8-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.12.7-k8s-vault
64+
- image: jeroenwillemsen/wrongsecrets:1.12.8-k8s-vault
6565
imagePullPolicy: IfNotPresent
6666
name: secret-challenge
6767
command: ["/bin/sh"]

docs/VERSION_MANAGEMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ The project maintains version consistency between:
1212
## Version Schema
1313

1414
```
15-
pom.xml version: 1.12.7-SNAPSHOT
16-
Dockerfile version: 1.12.7
17-
Dockerfile.web version: 1.12.7-no-vault
15+
pom.xml version: 1.12.8-SNAPSHOT
16+
Dockerfile version: 1.12.8
17+
Dockerfile.web version: 1.12.8-no-vault
1818
```
1919

2020
## Automated Solutions

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.12.7-no-vault"
11+
image = "docker.io/jeroenwillemsen/wrongsecrets:1.12.8-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.12.7-k8s-vault
61+
- image: jeroenwillemsen/wrongsecrets:1.12.8-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 = "JaX7jBw=" + 9 + "Mwvs" + 6 + "WE4=" + 2 + "Appl" + 7;
3+
var password = "ORqWt/g=" + 9 + "5kWb" + 6 + "dGE=" + 2 + "NLFC" + 7;
44
return password;
55
}

0 commit comments

Comments
 (0)