-
Notifications
You must be signed in to change notification settings - Fork 305
How to Create a Flag
First you'll want to decide what kind of flag you want to create. There are several different types of flags you can choose from:
A static flag is a simple string, when a team attempts to capture a flag of this type they simply submit a string and it is compared to the flag's string on the server, and must be an exact match in order for the team to capture the flag.
A regex flag is compared using a regular expression provided by the administrators. Teams submit a string, if the sting matches the regular expression they awarded the flag. This allows for versatility in what a team can submit and still successfully capture the flag (e.g. a insensitive comparison)
Teams must capture and submit a file in order to capture these flags. Note that only the SHA1 of the file is stored on the server, not the entire file. Because of the nature of SHA1 teams must submit the exact same file in order to successfully capture the flag.
To create a flag log in to the administrator account and select Create => New Flag => {Flag Type} and then the type of flag you'd like to create (as described above):