- Connect to CTFd through its REST API
- By-user token access
- Watch for notifications
- Watch for new challenges
- Add unit tests & continuous integration
- Add
/help
command
These commands are only allowed to the server's administrators
-
/get {option}
, show option description, current value and default value -
/set {option} {value}
, set given value to given option -
/sessions
, list current sessions
-
notif_watcher_freq
, notification retrieval frequency in seconds. Default60
-
chall_watcher_freq
, new challenges retrieval frequency in seconds. Default60
-
allow_team_cmd
, allow non-auth users to execute team-related commands, Defaulttrue
Access token and CTFd API URL are saved independently for each user.
Commands related to the whole team can be optionally allowed for users that aren't authenticated with options.allow_team_cmd
, if a valid access token has already been set for another member.
These commands are only valid in private message channel with the bot
-
/session
, show info about current session -
/session {ctf_url} [{token}]
, initiate a new session on given url -
/token {token}
, set your access token for this session
-
/flag
, validate a flag -
/score
, show the scoreboard -
/challs [{category}]
, list all challenges (in the given category)-
/chall {chall}
, show details about given chall -
/solves {chall}
, show solves of given chall
-
- get
api/notifications
everyoptions.notif_watcher_freq
seconds - embed new notifications' info
-
/notify {regexp}
, get highlighted when notif matches
- get
api/challenges
everyoptions.chall_watcher_freq
seconds - maintain a local list of challenges
- notify when new challenges are found