Skip to content

Commit b013192

Browse files
committed
Add survey chal with explicit difficulty for testing point fetch
Signed-off-by: Robert Detjens <github@detjens.dev>
1 parent 02216cc commit b013192

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

tests/repo/misc/garf/challenge.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ author: some guy
33
description: |
44
enjoy this funky image
55
6-
# used for point values in rcds.yaml
7-
# 0 for survey/rules chal?
8-
# default: 1
9-
difficulty: 1
10-
116
# alternatively, flag: dam{wtf}
127
flag:
138
text: dam{garf}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: survey
2+
author: Management
3+
description: |
4+
worth one point! (probably)
5+
6+
difficulty: survey
7+
8+
flag:
9+
text: dam{wow_survey}

tests/repo/rcds.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ points:
1919
- difficulty: "standard"
2020
min: 100
2121
max: 1337
22+
- difficulty: "survey"
23+
min: 1
24+
max: 1
2225

2326
deploy:
2427
# control challenge deployment status explicitly per environment/profile
2528
testing:
29+
misc/survey: true
2630
misc/garf: true
2731
pwn/notsh: true
2832
web/bar: true

tests/repo/web/bar/challenge.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ description: |
55
66
{{ url }}
77
8-
difficulty: 1
9-
108
flag:
119
file: ./site_source/flag
1210

0 commit comments

Comments
 (0)