Skip to content

Commit f5d5bf9

Browse files
author
eshaan7
committed
use organization dictionary for info
1 parent b53b6f1 commit f5d5bf9

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

src/FlaskRTBCTF/config.py

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,24 @@ class Config:
1717

1818
''' CTF related Configuration '''
1919

20-
# Specify CTF Name
20+
# Add some information about organization and specify CTF name
2121

22-
ctfname = "RootTheBox CTF"
22+
organization = {
23+
"ctfname": "RootTheBox CTF",
24+
"name": "DEF CON 91120",
25+
"website": {
26+
"url": "https://dc91120.org/",
27+
"name": "Official DC91120 Website"
28+
},
29+
"website_2": {
30+
"url": "https://dc91120.org/events.html",
31+
"name": "Events"
32+
},
33+
"website_3": {
34+
"url": "https://dc91120.org/#footer",
35+
"name": "About Us"
36+
}
37+
}
2338

2439
# Specify CTFs Running Time
2540

@@ -29,12 +44,12 @@ class Config:
2944
"TimeZone": "IST"
3045
} # Use `pytz.utc` for UTC timezone
3146

32-
# Speicfy Your Pwnable Box/Machine settings
47+
# Specify Your Pwnable Box/Machine settings
3348

3449
box = {
3550
"name": "My Awesome Pwnable Box",
36-
"ip": "127.0.0.1", "os":
37-
"Linux",
51+
"ip": "127.0.0.1",
52+
"os": "Linux",
3853
"points": { "user": 10, "root": 20 },
3954
"hardness": "You tell"
4055
}

0 commit comments

Comments
 (0)