Skip to content

Commit aa69e46

Browse files
authored
fix(hackthebox): Update selectors, add settings, fix routing logic (#10288)
* fix(HackTheBox): Update selectors, add settings, fix routing logic * fix(hackthebox): Optimized routing, added dynamic machine avatars, fixed selectors * chore(hackthebox) Signed-off-by: sirschubert <100043392+sirschubert@users.noreply.github.com> * fix(HackTheBox): bump version, usage of Promise.all --------- Signed-off-by: sirschubert <100043392+sirschubert@users.noreply.github.com>
1 parent e3b0302 commit aa69e46

File tree

2 files changed

+243
-163
lines changed

2 files changed

+243
-163
lines changed

websites/H/HackTheBox/metadata.json

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,42 @@
55
"id": "937757295453044806",
66
"name": "Atsukoro1"
77
},
8+
"contributors": [
9+
{
10+
"name": "firstoften",
11+
"id": "339316517558681610"
12+
}
13+
],
814
"service": "HackTheBox",
915
"description": {
1016
"en": "Hack The Box is a massive, online cybersecurity training platform, allowing individuals, companies, universities and all kinds of organizations around the world to level up their hacking skills."
1117
},
1218
"url": "app.hackthebox.com",
1319
"regExp": "^https?[:][/][/]app[.]hackthebox[.]com[/]",
14-
"version": "1.1.0",
20+
"version": "1.2.0",
1521
"logo": "https://cdn.rcd.gg/PreMiD/websites/H/HackTheBox/assets/logo.png",
1622
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/H/HackTheBox/assets/thumbnail.jpeg",
1723
"color": "#9fef00",
1824
"category": "other",
19-
"tags": [
20-
"hacking"
25+
"tags": ["hacking"],
26+
"settings": [
27+
{
28+
"id": "showRank",
29+
"title": "Show Rank",
30+
"icon": "fas fa-trophy",
31+
"value": true
32+
},
33+
{
34+
"id": "showGlobalRanking",
35+
"title": "Show Global Ranking",
36+
"icon": "fas fa-globe",
37+
"value": true
38+
},
39+
{
40+
"id": "showFlags",
41+
"title": "Show owned flags",
42+
"icon": "fas fa-flag",
43+
"value": true
44+
}
2145
]
2246
}

0 commit comments

Comments
 (0)