Skip to content

Commit 78fe24e

Browse files
committed
chore(cookies): update traverse universe challenge
Signed-off-by: Gabriel Mocanu <gabi.mocanu98@gmail.com>
1 parent a743d4c commit 78fe24e

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/traverse-universe/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:8084.
5+
Get the flag from http://141.85.224.101:30022.
66

77
Score: 75
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
EXTERNAL_PORT := 8084
1+
EXTERNAL_PORT := 30022
22
INTERNAL_PORT := 80
33
NAME := cookies-and-session-management_traverse-universe
44

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: traverse-universe
5+
category: cookies-and-session-management
6+
7+
image:
8+
repository: ghcr.io/open-education-hub/web-security/cookies-and-session-management/traverse-universe
9+
tag: latest
10+
pullPolicy: Always
11+
12+
containerPort: 80
13+
14+
service:
15+
type: NodePort
16+
port: 80
17+
nodePort: 30022
18+
19+
healthCheck:
20+
enabled: true
21+
path: "/"
22+
initialDelaySeconds: 5
23+
periodSeconds: 15

chapters/web-application-security/cookies-and-session-management/drills/traverse-universe/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=8084
2+
PORT=30022
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.115:'$PORT
9+
url='http://141.85.224.101:'$PORT
1010
else
1111
url=$1':'$2
1212
fi

0 commit comments

Comments
 (0)