ctfs / write-ups-tools

A collection of tools used to maintain and create CTF write-up folders
232 stars 89 forks source link

how specifically to write `info` files? #16

Closed Amar1729 closed 7 years ago

Amar1729 commented 7 years ago

Sorry, having a bit of trouble using this script to generate a skeleton for the NCL ctfs, just curious on the specifics of it. Where exactly do I specify task names, files, etc? Is the script expecting a ctftime link (there isn't one for NCL) or info files at each level of a skeleton that I prefill before running genctf.py?

ghost commented 7 years ago

The genctf script doesn't generate the file tree for a CTF event and its challenges.

Instead create a root folder for the CTF, folders for each category, and folders for each challenge. In those folders add challenge files (that come with the challenge), and the info file. The info file then contains just the challenge's description. The script takes your structures and info files and creates all the README files.

An explanation is on the wiki page CTF Generation now.

Amar1729 commented 7 years ago

Awesome. Thanks for the clarifications!