-
Notifications
You must be signed in to change notification settings - Fork 0
/
challenge.yml
86 lines (71 loc) · 2.05 KB
/
challenge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# This file represents the base specification of your challenge. It is used by
# other tools to install and deploy your challenge.
# Required sections
name: "challenge name"
author: "author"
# Select a category from:
# - pwn
# - web
# - osint
# - crypto
# - forensics
# - reverse
# - misc
category: category
# This is the challenge description. Make sure you include the
# necessary URLs / netcat strings here.
# Constants:
# {{ IP_SERVER }} to get service IP address
# {{ PORT }} to get service port
description: "This is a sample description
with multi line
http://{{ IP_SERVER }}:{{ PORT }}/"
# Flags specify answers that your challenge use. You should generally provide
# at least one.
# Can be removed if unused
# Accepts strings or dictionaries
flags:
- compfest14{this_is_a_sample_flag}
- { type: "static", content: "compfest14{another_flag}", data: "case_insensitive" }
# Tags are used to classify your challenge with topics. You should provide at
# least one.
# Can be removed if unused
# Accepts strings
tags:
- web
- sandbox
- js
# Hints are used to give players a way to buy or have suggestions. They are not
# required but can be nice.
# Default value: cost = 0, state = "visible"
# Can be removed if unused
# Accepts dictionaries
hints:
- { content: "This hint costs points", cost: 10 }
- { content: "Not published hint", cost: 0, state: "hidden" }
# Link to problem attachment for participants
# Can be removed if unused
# Accepts strings
attachment: link_to_attachment
##############
# BAGIAN TC #
##############
# This is the number of points awarded for the challenge.
value: 500
type: dynamic
# Number of solves it takes to reach the minimum value.
decay: 450
# Minimum value.
minimum: 100
# Provide paths to files from the same directory that this file is in
# Accepts strings
files:
- dist/source.py
# The state of the challenge.
# May be "visible" or "hidden".
# It is "visible" by default.
state: hidden
# The ports to expose. The target port will be used to access the deployed container.
expose:
containerPort: 9999
targetPort: 30231