Flag providers

Flag validation providers for static, regex, and per-team flags.

Edit this page View Markdown

Flag providers validate submissions against a challenge’s flag entries. A challenge holds a list of entries, each naming a provider and a provider-specific config, and a submission solves the challenge when any entry accepts it.

Unlike the other providers in this section, flag providers are not selected in the server configuration. Every provider is always available, and each flag entry picks one:

"flags": [
{
"provider": "flags/static",
"config": { "flag": "rctf{example}" }
},
{
"provider": "flags/regex",
"config": { "pattern": "^rctf\\{example\\}$", "flags": "i" }
},
{
"provider": "flags/dynamic",
"config": { "base": "rctf{example}", "mode": "auto" }
}
]

Providers

Exact string match. The submission is compared against config.flag with a constant-time comparison. Entries that omit provider use this provider.

{
"provider": "flags/static",
"config": { "flag": "rctf{example}" }
}
Option Description
flag The exact flag string.

:::

Type to search.