-
Notifications
You must be signed in to change notification settings - Fork 12
/
challenge.yaml
43 lines (39 loc) · 942 Bytes
/
challenge.yaml
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
name: gelcode-2
author: KyleForkBomb
description: |-
I really liked gelcode, so here's another one! Thanks to PMP for the
inspiration, and make sure to check out [HSCTF](https://hsctf.com/)!
The number of characters allowed will increase until the challenge is
solved, after which it will be locked to that amount until the end of
the CTF. The flag is in `flag.txt` in the current directory.
`{{ nc }}`
provide:
- file: ./bin/main
as: gelcode-2
flag:
file: ./bin/flag.txt
containers:
main:
build: .
replicas: 2
ports:
- 5000
environment:
JAIL_MEM: 10M
securityContext:
capabilities:
drop:
- all
add:
- chown
- setuid
- setgid
- sys_admin
k8s:
deployment:
annotations:
container.apparmor.security.beta.kubernetes.io/main: unconfined
expose:
main:
- target: 5000
tcp: 31034