Skip to content

Managing writeup submissions ​

CTFGarden can collect writeups from players, for example if you require writeups to be eligible for prizes.

Players can submit a writeup for a challenge in two ways:

  • As a link, for example to a blog post or a GitHub repository.
  • As a file upload. Only PDF (.pdf) and Markdown (.md) files of up to 10 MB are accepted.

Every team (or user in solo competitions) can only have one writeup per challenge. Submitting a new writeup replaces the previous one, even if it was submitted by another team member.

Players can optionally provide their Discord username with a writeup, so you can contact them easily.

Viewing writeups ​

Writeups are visible to the player who submitted them, their team members, and to authors and admins.

Uploaded files are not served by the platform directly. Instead, a pre-signed download link that is valid for one hour is generated when the writeup is viewed.

If the Discord integration is configured with a writeup channel, every new writeup is also posted there. Uploaded files of up to 8 MB are attached directly to the message.

Configuration ​

Uploaded writeups are stored in an S3-compatible object storage. To enable file uploads, set the following environment variables on the API server:

VariableDescription
S3_HOSTURL of the S3 endpoint, for example https://nbg1.your-objectstorage.com
S3_ACCESS_KEYAccess key for the object storage
S3_SECRET_KEYSecret key for the object storage
WRITEUPS_BUCKETName of the bucket to store writeups in

Files are stored as <challenge id>/<username>/<filename> in the bucket.

INFO

The S3 region is currently hardcoded to nbg1 (Hetzner Object Storage, Nuremberg). Most other S3-compatible providers ignore the region or accept any value, but AWS S3 itself requires the correct region.

Link writeups don't require any configuration.

Imprint