An open API service indexing awesome lists of open source software.

https://github.com/theflash2k/ctfd-wave-release

A Simple CTFd add-on that will be used to release challenges in a sort of `wave`.
https://github.com/theflash2k/ctfd-wave-release

ctfd ctfd-plugin

Last synced: about 1 year ago
JSON representation

A Simple CTFd add-on that will be used to release challenges in a sort of `wave`.

Awesome Lists containing this project

README

          

# CTFd-Wave-Release
A Simple CTFd add-on that will be used to release challenges in a sort of `wave`.

---

## Usage:

```bash
./wave-release.py -f sample.json
```

### NOTE:
You will need to specify the variables in the .env or by command line arguments.

There is a `NEXT_TIMESTAMP` variable that can be defined inside the `.json` file specifically in the messages block, that will reflect in both CTFd and Discord. You can also specify a specific TimeZone and the code will parse it accordingly. For example, if you were to print a time with `"Asia/Karachi"` as the timezone, you'd use: `{NEXT_TIMESTAMP:Asia/Karachi}`. The portion after `:` would be used as a direct timezone. If an invalid timezone is provided, it would default to `UTC`.

---

### Variables:

#### force-deploy:
If set to true, this will deploy the challenges if the time of deployment of has passed.

#### notify-discord:
If set to true, it will use the `DISCORD_WEBHOOK` environment variable to send the notification to the specific discord channel.

---