Skip to content

Commit 67f133b

Browse files
committed
chore(cookies): update beep-beep-boop challenge
Signed-off-by: Gabriel Mocanu <gabi.mocanu98@gmail.com>
1 parent 965f1dd commit 67f133b

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed

chapters/web-application-security/cookies-and-session-management/drills/beep-beep-boop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Description
44

5-
Get the flag from http://141.85.224.115:8088.
5+
Get the flag from http://141.85.224.101:30014.
66

77
Score: 50
88

chapters/web-application-security/cookies-and-session-management/drills/beep-beep-boop/deploy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8088
1+
EXTERNAL_PORT := 30014
22
INTERNAL_PORT := 80
33
NAME := cookies-and-session-management_beep-beep-boop
44
FLAG := $(shell cat ../flag)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace: cookies-and-session-management
2+
3+
challenge:
4+
name: beep-beep-boop
5+
category: cookies-and-session-management
6+
7+
image:
8+
repository: ghcr.io/open-education-hub/web-security/cookies-and-session-management/beep-beep-boop
9+
tag: latest
10+
pullPolicy: Always
11+
12+
containerPort: 80
13+
14+
service:
15+
type: NodePort
16+
port: 80
17+
nodePort: 30014
18+
19+
healthCheck:
20+
enabled: true
21+
path: "/"
22+
initialDelaySeconds: 5
23+
periodSeconds: 15

chapters/web-application-security/cookies-and-session-management/drills/beep-beep-boop/sol/solution.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
2-
PORT=8088
2+
PORT=30014
33

44
if [[ $1 == "local" ]]
55
then
66
url='http://127.0.0.1:'$PORT
7-
elif [[ $1 == "remote" ]] && [[ -z $2 ]]
7+
elif [[ $1 == "remote" ]] && [[ -z $2 ]]
88
then
9-
url='http://141.85.224.157:'$PORT
9+
url='http://141.85.224.101:'$PORT
1010
else
1111
url=$1':'$2
1212
fi

0 commit comments

Comments
 (0)