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
|
From c7ba613ad4b55c59ff0dbb05c774eccc526eef32 Mon Sep 17 00:00:00 2001
From: Aleksa Vuckovic <aleksa@vuckovic.cc>
Date: Thu, 4 Jul 2024 09:18:50 +0000
Subject: [PATCH] services
---
services/api/configurations.py | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/services/api/configurations.py b/services/api/configurations.py
index 0dea4f4..032fdb4 100755
--- a/services/api/configurations.py
+++ b/services/api/configurations.py
@@ -31,11 +31,19 @@ start_date = os.getenv("TICK_START", "2018-06-27T13:00+02:00")
mongo_host = os.getenv("TULIP_MONGO", "localhost:27017")
flag_regex = os.getenv("FLAG_REGEX", "[A-Z0-9]{31}=")
mongo_server = f'mongodb://{mongo_host}/'
-vm_ip = os.getenv("VM_IP", "10.10.3.1")
+vm_ip = "10.60.33.1"
+
+services = [{"ip": vm_ip, "port": 80, "name": "CApp"},
+ {"ip": vm_ip, "port": 1234, "name": "CyberUni"},
+ {"ip": vm_ip, "port": 1235, "name": "CyberUni"},
+ {"ip": vm_ip, "port": 1236, "name": "CyberUni"},
+ {"ip": vm_ip, "port": 1237, "name": "CyberUni"},
+ {"ip": vm_ip, "port": 1337, "name": "TiCCket"},
+ {"ip": vm_ip, "port": 5000, "name": "Trademark"},
+ {"ip": vm_ip, "port": -1, "name": "other"},
+ {"ip": vm_ip, "port": -1, "name": "other"},
+ {"ip": vm_ip, "port": -1, "name": "other"},
+ {"ip": vm_ip, "port": -1, "name": "other"},
+ {"ip": vm_ip, "port": -1, "name": "other"},
+ {"ip": vm_ip, "port": -1, "name": "other"}]
-services = [{"ip": vm_ip, "port": 9876, "name": "cc_market"},
- {"ip": vm_ip, "port": 80, "name": "maze"},
- {"ip": vm_ip, "port": 8080, "name": "scadent"},
- {"ip": vm_ip, "port": 5000, "name": "starchaser"},
- {"ip": vm_ip, "port": 1883, "name": "scadnet_bin"},
- {"ip": vm_ip, "port": -1, "name": "other"}]
\ No newline at end of file
--
2.25.1
|