Skip to content

Commit 965f1dd

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

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

chapters/web-application-security/cookies-and-session-management/drills/colors/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:8002.
5+
Get the flag from http://141.85.224.101:30016.
66

77
Score: 50
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8082
1+
EXTERNAL_PORT := 30016
22
INTERNAL_PORT := 80
33
NAME := cookies-and-session-management_colors
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: colors
5+
category: cookies-and-session-management
6+
7+
image:
8+
repository: ghcr.io/open-education-hub/web-security/cookies-and-session-management/colors
9+
tag: latest
10+
pullPolicy: Always
11+
12+
containerPort: 80
13+
14+
service:
15+
type: NodePort
16+
port: 80
17+
nodePort: 30016
18+
19+
healthCheck:
20+
enabled: true
21+
path: "/"
22+
initialDelaySeconds: 5
23+
periodSeconds: 15

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
2-
PORT=8082
2+
PORT=30016
33

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

0 commit comments

Comments
 (0)