summaryrefslogtreecommitdiff
path: root/tulip/0002-tulip-services.patch
blob: adf5b9644d874b7fb82fff369a4141bab56e40fd (plain)
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.1.93.1"
+
+services = [{"ip": vm_ip, "port": 8080, "name": "imagidate"},
+            {"ip": vm_ip, "port": 5000, "name": "imagidate"},
+            {"ip": vm_ip, "port": 6060, "name": "notify24"},
+            {"ip": vm_ip, "port": 6061, "name": "notify24"},
+            {"ip": vm_ip, "port": 1080, "name": "onlyflags"},
+            {"ip": vm_ip, "port": 9145, "name": "onlyflags"},
+            {"ip": vm_ip, "port": 4444, "name": "piratesay"},
+            {"ip": vm_ip, "port": 6969, "name": "replme"},
+            {"ip": vm_ip, "port": 6222, "name": "scamfinder24"},
+            {"ip": vm_ip, "port": 8008, "name": "sceam"},
+            {"ip": vm_ip, "port": 9696, "name": "whatscam"},
+            {"ip": vm_ip, "port": 2027, "name": "wonki"},
+            {"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