Awesome
Generate a CTF directory skeleton
Use genctf.py
to generate a CTF write-up skeleton.
- Create an empty directory for the CTF, ending with the current year, e.g.
example-ctf-2015/
- Create an empty directory in this new CTF directory for each task category, e.g.
mkdir crypto web misc trivia
- Create an empty directory for each task in their respective category folder, e.g.
mkdir crypto/{rsalot, rsanne}
- Download all CTF files during the CTF and save the description, points, original task name, solves and task category for each file in a file named
info
, e.g.crypto/rsalot/info
andcrypto/rsanne/info
- Generate a
README.md
for eachinfo
file in the CTF directory using thegenctf.py
tool, e.g.python genctf.py example-ctf-2015/ info 'Example CTF'
- Remove all the info files (make a backup of your CTF directory just in case) using
find example-ctf-2015 -name info -delete
- Tell git to ignore all files that are bigger than 10MBytes with
cd example-ctf-2015; find . -size +10M >> .gitignore
- Edit each
README.md
to fill in missing information (e.g. Authors, references and solves) - Move the CTF directory to the
write-ups-$YEAR
repo, making sure that it does not already exist, and make a pull request
Use getscores.py
to generate the scoreboard for a CTF by providing a ctftime link.
Use checkreadme.py
to update the root README.md of a given CTF directory.