You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial farm configuration is located in **config.yml** and must be configured before starting the farm.
6
+
7
+
You have to change:
8
+
9
+
### Section exploit_runner
10
+
11
+
1. Vulnboxes ip addresses (target ip addresses for exploits).
12
+
This can be done in one of four ways (you can remove unnecessary fields from config.yml):
13
+
-**team_ips** - list of IP addresses of team vulnboxes
14
+
-**team_ip_cidrs** - cidrs of team vulnboxes
15
+
-**team_ip_ranges** - range of team vulnboxes
16
+
-**team_ip_from_N** - range of team vulnboxes calculating by formula for template like "10.{X}.{Y}.2"
17
+
- N - range(**n_start**, **n_end**)
18
+
- X = N / **block** + **offset_x**
19
+
- Y = N % **block** + **offset_y**
20
+
2.**flag_format** - format of flag in CTF competition. This regular expression will extract flags from the exploit text
21
+
22
+
### Section flag_sender
23
+
24
+
1.**plugin** - module for sending flags in jury system
25
+
2.**jury_flag_url_or_host** - url or host of jury system where the flags will be sent
26
+
- For HTTP plugins should be url like: http://example.com/flags or http://1.2.3.4:5555/flags
27
+
- For TCP plugins should be hostname + port like: example.com:5555 or 1.2.3.4:5555
28
+
3.**token** - auth token for jury system (if needed)
29
+
4.**flag_ttl** - time to live of flags
30
+
31
+
## Real-time configuration
32
+
33
+
All settings of this configuration can be changed in real-time in ui. The exception is parameter **plugin** in section **flag_sender**. To change it, you need to restart the farm.
34
+
35
+
It is also not recommended to add ip addresses via the ui, as there is no option for bulk addition.
0 commit comments