Skip to content

Commit

Permalink
Merge pull request #1146 from OWASP/optimize-webtop
Browse files Browse the repository at this point in the history
Fix Webtop again
  • Loading branch information
commjoen authored Dec 15, 2023
2 parents 0d46c53 + 799f91b commit bba9268
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile_webdesktop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lscr.io/linuxserver/webtop:4.16-r0-ls72
FROM lscr.io/linuxserver/webtop:4.16-r0-ls95
LABEL NAME="OWASP WrongSecrets Web Desktop" MAINTAINER="Jeroen Willemsen"

RUN \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_webdesktopk8s
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lscr.io/linuxserver/webtop:4.16-r0-ls72
FROM lscr.io/linuxserver/webtop:4.16-r0-ls95
LABEL NAME="OWASP WrongSecrets Web Desktop" MAINTAINER="Jeroen Willemsen"

RUN \
Expand Down
4 changes: 2 additions & 2 deletions wrongsecret-desktop-resources/startwm.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

/startpulse.sh &
cp -r /var/tmp/wrongsecrets /config/Desktop/wrongsecrets
cp -r /var/tmp/wrongsecrets/welcome.md /config/Desktop
ln -s -r /var/tmp/wrongsecrets /config/Desktop/wrongsecrets
ln -s /var/tmp/wrongsecrets/welcome.md /config/Desktop/welcome.md
sudo chown abc /config/.config/pulse
/usr/bin/startxfce4 > /dev/null 2>&1
3 changes: 3 additions & 0 deletions wrongsecret-desktop-resources/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Where the SERVICE_HOST IP might be different. You can find the right IP with the
kubectl -n kube-system get pod -l component=kube-apiserver -o=jsonpath="{.items[0].metadata.annotations.kubeadm\.kubernetes\.io/kube-apiserver\.advertise-address\.endpoint}"
```

### Need to save your work?

Feel free to write files to your Desktop: that's where we created a small volume where you can write to.

### When you are in a CTF

Expand Down

0 comments on commit bba9268

Please sign in to comment.