Skip to content

Commit 00508cd

Browse files
committed
chore(cookies): update nobody-loves-me challenge
Signed-off-by: Gabriel Mocanu <gabi.mocanu98@gmail.com>
1 parent 4639895 commit 00508cd

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/nobody-loves-me/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:8001.
5+
Get the flag from http://141.85.224.101:30020.
66

77
Score: 25
88

chapters/web-application-security/cookies-and-session-management/drills/nobody-loves-me/deploy/Makefile

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

chapters/web-application-security/cookies-and-session-management/drills/nobody-loves-me/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=8081
2+
PORT=30020
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)