TFNS / CTFNote

CTFNote is a collaborative tool aiming to help CTF teams to organise their work.
GNU General Public License v3.0
522 stars 61 forks source link

Add ångstromCTF parser #221

Closed peace-maker closed 1 year ago

peace-maker commented 1 year ago

Allows to add ångstromCTF challenges from https://angstromctf.com/

I've mimiced the stricter isValid tests from the justCTF parser addition PR, but didn't test it afterwards. During the CTF I only had the isArray check, but since their platform has problems currently, I can't test it with the stricter checks. But given the pico and justCTF parsers are similar, I'd expect this to still be fine.

JJ-8 commented 1 year ago

Hi @peace-maker, could you provide some example JSON that successfully imports the challenges from ångstromCTF? That would make testing easier. Thank you in advance!

peace-maker commented 1 year ago

I can't right now, because their platform is down 🙁 https://2023.angstromctf.com/ I didn't save it during the CTF.

peace-maker commented 1 year ago

It's back up! https://api.angstromctf.com/competitions/7/challenges

[{"id":269,"title":"Bananas","description":"A friend sent [this](https://files.actf.co/8ab8e79a482fd97ef1d2621dd1102278b24270edd5abb024d6c294f927122b68/Elixir.Bananas.beam) to me. Can you help me find out what they want?\n\n`nc challs.actf.co 31403`","value":100,"author":"cavocado","category":"rev","hint":"Elixir is awesome :)","solves":221},{"id":270,"title":"Simon Says","description":"This guy named Simon gave me a bunch of tasks to complete and not a lot of time. He wants to run a unique zoo but needs the names for his animals. Can you help me?\n\n`nc challs.actf.co 31402`","value":40,"author":"cavocado","category":"misc","hint":"you got this!","solves":432},{"id":271,"title":"Physics HW","description":"My physics teacher also loves puzzles. Maybe my [homework](https://files.actf.co/b025da68818ed9b44a95156ff0a896704b8d967dd0de391b715f705aac638c35/physics_hw.png) is a puzzle too?","value":20,"author":"cavocado","category":"misc","hint":"you got this!","solves":551}]