Skip to content

Commit f692065

Browse files
authored
Merge pull request TFNS#500 from TFNS/update-htb-categories
Add two more HTB categories to the HTB parser
2 parents c211877 + 109721c commit f692065

File tree

1 file changed

+3
-1
lines changed
  • front/src/ctfnote/parsers

1 file changed

+3
-1
lines changed

front/src/ctfnote/parsers/htb.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ParsedTask, Parser } from '.';
22
import { parseJsonStrict } from '../utils';
33

4-
// output of https://ctf.hackthebox.com/api/public/challengeCategories
4+
// output of https://ctf.hackthebox.com/api/public/challenge-categories
55
const challengeCategories: { [index: number]: string } = {
66
1: 'Fullpwn',
77
2: 'Web',
@@ -27,6 +27,8 @@ const challengeCategories: { [index: number]: string } = {
2727
25: 'TTX',
2828
26: 'Trivia',
2929
30: 'Sherlocks',
30+
33: 'AI',
31+
36: 'Secure Coding',
3032
};
3133

3234
const HTBParser: Parser = {

0 commit comments

Comments
 (0)