# write-ups-tools **Repository Path**: molok/write-ups-tools ## Basic Information - **Project Name**: write-ups-tools - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-12-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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` and `crypto/rsanne/info` * Generate a `README.md` for each `info` file in the CTF directory using the `genctf.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.