Skip to content

Commit fb0a807

Browse files
committed
chore(cookies): update mind-your-own-business challenge
Signed-off-by: Gabriel Mocanu <gabi.mocanu98@gmail.com>
1 parent 00508cd commit fb0a807

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/mind-your-own-business/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:8085.
5+
Get the flag from http://141.85.224.101:30019.
66

77
Score: 50
88

chapters/web-application-security/cookies-and-session-management/drills/mind-your-own-business/deploy/Makefile

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

chapters/web-application-security/cookies-and-session-management/drills/mind-your-own-business/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=8085
2+
PORT=30019
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)