This bot is heavily forked from https://github.com/NullPxl/NullCTF
A discord.py bot focused on providing CTF tools for collaboration in Discord servers (ctftime.org commands, utilites, etc)! If you have a feature request, make it a GitHub issue.
This bot has commands for encoding/decoding, ciphers, and other commonly accessed tools during CTFs. The following commands listed are probably going to be used the most.
The following commands use the api from ctftime
-
>ctftime countdown/timeleft
Countdown will return when a selected CTF starts, and timeleft will return when any currently running CTFs end in the form of days hours minutes and seconds. -
>ctftime upcoming <number>
Uses the api mentioned to return an embed up to 5 upcoming CTFs. If no number is provided the default is 3. -
>ctftime current
Displays any currently running CTFs in the same embed as previously mentioned. -
>ctftime top <year>
Shows the ctftime leaderboards from a certain year (dates back to 2011).
Utility commands
-
>magicb filetype
Returns the mime and magicbytes of your supplied filetype. Useful for stegonography challenges where a filetype is corrupt. -
>rot "a message" <right/left>
Returns all 25 possible rotations for a message with an optional direction (defaults to left). -
>b64 encode/decode "message"
Encode or decode in base64 (at the time of writing this, if there are any unprintable characters this command will not work, this goes for all encoding/decoding commands). -
>binary encode/decode "message"
Encode or decode in binary. -
>hex encode/decode "message"
Encode or decode in hex. -
>url encode/decode "message"
Encode or decode with url parse. This could be used for generating XSS payloads. -
>reverse "message"
Reverse a message. -
>counteach "message"
Count the occurrences of each character in the supplied message. -
>characters "message"
Count the amount of characters in your message. -
>wordcount a test
Counts the amount of words in your message (don't use quotations). -
>cointoss
Get a 50/50 cointoss to make all your life's decisions. -
>request/report "a feature"/"a bug"
Dm's the creator (nullpxl#3928) with your feature/bug request/report. -
>help
Returns the help page