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`.
- Host: GitHub
- URL: https://github.com/theflash2k/ctfd-wave-release
- Owner: TheFlash2k
- Created: 2024-04-04T14:58:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T14:49:13.000Z (about 2 years ago)
- Last Synced: 2024-04-26T15:56:30.116Z (about 2 years ago)
- Topics: ctfd, ctfd-plugin
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
---