-
Notifications
You must be signed in to change notification settings - Fork 297
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.
From the administrator account and select Create => New Flag => {Flag Type} based on the type of flag you want to create (as described above):
Next enter the following information (may differ slightly depending on flag type):
-
Flag Name: A publicly visible name for this flag, it can be anything but should go along with the narrative of the game.
-
Description: A publicly visible description of the flag, this should describe what the flag is. For example, The sql database administrative password or The
/root/secret.jpg
file, something along those lines. -
Capture Message: This is an optional message that appears when a player successfully captures the flag.
-
Reward: The reward value (in $$$) for capturing this flag, this should be based on the difficulty of getting the flag.
-
Box: The box on which the flag resides. If you don't see any options here you need to go create a box first.
When you're ready just click the Create Flag button.