All Projects → NullPxl → Nullctf

NullPxl / Nullctf

Licence: gpl-3.0
A Discord bot that provides ctf tools for collaboration in Discord servers!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Nullctf

Axoncore
The best fully featured discord bot framework for javascript (eris, discordjs or detritusjs)!
Stars: ✭ 68 (-12.82%)
Mutual labels:  discord-bot, discord
Spacexlaunchbot
A Discord bot for getting news, information, and notifications about upcoming SpaceX launches
Stars: ✭ 63 (-19.23%)
Mutual labels:  discord-bot, discord
Oscp Ctf
oscp-ctf is a small collection of basic Bash scripts that make life easier and save time whether you are in the OSCP labs, HackThebox or playing around with CTFs.
Stars: ✭ 62 (-20.51%)
Mutual labels:  ctf, ctf-tools
Discordgsm
📺 Monitor your game servers on Discord and tracks the live data of your game servers. Also support one-click deployment to Heroku, self-hosted. Invite: https://discordgsm.com/invite
Stars: ✭ 74 (-5.13%)
Mutual labels:  discord-bot, discord
Discord Slash Bot
This bot is a simple Discord Slash Bot.
Stars: ✭ 64 (-17.95%)
Mutual labels:  discord-bot, discord
Bottyclient
A slim Discord client with many cool features including less network traffic which supports bot tokens, but user tokens theoretically work too. Tags: Discord Bot Client Token for Bot Botting Download English
Stars: ✭ 58 (-25.64%)
Mutual labels:  discord-bot, discord
Ctfcracktools
China's first CTFTools framework.中国国内首个CTF工具框架,旨在帮助CTFer快速攻克难关
Stars: ✭ 1,118 (+1333.33%)
Mutual labels:  ctf, ctf-tools
Crucian
⚡ Discord bot with economy, gambling, music, fun, moderation features based on discord.js v12
Stars: ✭ 55 (-29.49%)
Mutual labels:  discord-bot, discord
Distube
A Discord.js v12 module to simplify your music commands and play songs with audio filters on Discord without any API key. Support YouTube, SoundCloud, Bandcamp, Facebook, and 700+ more sites
Stars: ✭ 73 (-6.41%)
Mutual labels:  discord-bot, discord
Rpgbot
A Discord Bot with lots of RPG utilities
Stars: ✭ 63 (-19.23%)
Mutual labels:  discord-bot, discord
Create Discord Bot
Create Discord bots using a simple widget-based framework.
Stars: ✭ 70 (-10.26%)
Mutual labels:  discord-bot, discord
Basicbot
A basic example of a Discord Bot written in Python. (discord.py)
Stars: ✭ 73 (-6.41%)
Mutual labels:  discord-bot, discord
Ctfsubmitter
A flag submitter service with distributed attackers for attack/defense CTF games.
Stars: ✭ 56 (-28.21%)
Mutual labels:  ctf, ctf-tools
Luna
An adorable Discord.js bot. Free, Open Source and Cross Platform, usable as a solid base for larger projects. Written in NodeJs.
Stars: ✭ 76 (-2.56%)
Mutual labels:  discord-bot, discord
Nitro
A discord bot
Stars: ✭ 56 (-28.21%)
Mutual labels:  discord-bot, discord
Discord.js Lavalink
A discord.js lavalink client
Stars: ✭ 62 (-20.51%)
Mutual labels:  discord-bot, discord
Spellbook
Micro-framework for rapid development of reusable security tools
Stars: ✭ 53 (-32.05%)
Mutual labels:  ctf, ctf-tools
Zira
Zira is a Discord Bot that allows you to react to an emoji on a message and manage a users roles.
Stars: ✭ 55 (-29.49%)
Mutual labels:  discord-bot, discord
Libc Database
Build a database of libc offsets to simplify exploitation
Stars: ✭ 1,122 (+1338.46%)
Mutual labels:  ctf, ctf-tools
Discord feedbot
Moved to https://gitlab.com/ffreiheit/discord_feedbot
Stars: ✭ 67 (-14.1%)
Mutual labels:  discord-bot, discord

A discord.py bot focused on providing CTF tools for collaboration in Discord servers (ctftime.org commands, team setup + ctfd integration, utilites, etc)! If you have a feature request, make it a GitHub issue or use the >request "x" command.

Invite to your server

Please let me know if there's any issues with the link! This is a secondary instance because the original is over the 100 server limit Discord imposes for non-verified bots (verification requirements)


Join the support server

How to Use

If you ever forget a command, use >help!

After inviting to your server, it is recommended that you first configure the categories you want active and archived CTF channels to go into.

  • When you create a ctf, it will by default go into the "CTF" category (it will create one if it is not present), and when you archive a ctf it will go into the ARCHIVE category.
  • You can configure this with >config ctf_category "Category for CTFs" and >config archive_category "Category for Archived CTFs"

CTF Commands

The following commands are the ones you will most likely want to pay attention to, although if you do not expect to use this bot to manage CTFs you can skip this category and go down to CTFTime commands.

  • >ctf create "ctf name" This is the command you'll use when you want to begin a new CTF. This command will make a text channel with your supplied name under the designated CTF category. Must have permissions to manage channels ctf create

NOTE: the following ctf specific commands will only be accepted under the channel created for that ctf. This is to avoid clashes with multiple ctfs going on in the same server.

  • >ctf join/leave Using this command will either give or remove the role of a created ctf to/from you. ctf join/leave

  • >ctf challenge add/working/solved/remove "challenge" Allows users to add or remove challenges to a list, and then set the status of that challenge. Use quotations

  • >ctf challenge list This is the list command that was previously mentioned, it displays the added challenges, who's working on what, and if a challenge is solved (and by who). desc

NOTE: There is shorthand! challenge -> chal/chall, add -> a, working -> w, solved -> s, remove -> r

  • >ctf challenge pull "http(s)://ctfd.url" Pull challenges and their solved states from a CTFd hosted CTF, and add them to your challenges list. Requires the username and password to be set with >ctf setcreds "username" "password"

  • >ctf setcreds "ctfd username" "password" Pin the message of ctf credentials, can be fetched by the bot later in order to use >ctf challenge pull. Credentials are never stored outside of Discord. ctf pull and setcreds

  • >ctf creds Gets the credentials from the pinned message.

IMPORTANT: credentials are never stored outside of the pinned message on Discord. They are needed to pull challenge data and solve state from the CTFd platform.

  • >ctf archive Move the CTF channel into the Archive category. Must have permissions to manage channels

  • >ctf delete Delete the CTF info from the database, and delete the role. Must have permissions to manage channels


CTFtime Commands

  • >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. enter image description here
    enter image description here

  • >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. enter image description here

  • >ctftime current Displays any currently running CTFs in the same embed as previously mentioned. enter image description here

  • >ctftime top <year> Shows the ctftime leaderboards from a certain year (dates back to 2011). enter image description here


Utility Commands

  • >help Returns the help page

  • >amicool Are you cool?

  • >magicb filetype Returns the mime and magicbytes of your supplied filetype. Useful for stegonography challenges where a filetype is corrupt.

  • >rot "a message" Returns all 25 possible rotations for a message.

  • >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).

  • >b32 encode/decode "message" Encode or decode in base32

  • >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.

Have a feature request? Make a GitHub issue or use the >request command.

Setup - General Overview


  • This may be necessary in the future because of Disord's recent verification requirements for bots in over 100 servers (which this bot is already over). This rule, which will disallow users to invite bots that have not been verified by the owner (which requires photoid) will be enforced starting october 7th.
Create a discord bot on discord's developer portal -> get the bot token -> clone this repo ->
Create mongodb account -> create project -> create cluster -> create db user -> 
add your ip to db whitelist access -> connect to cluster and select python as driver ->
get connection string and follow mongodb's steps with your password ->  use the below template for creating dbs and collections under the file config_vars.py -> build with docker (`docker build`) -> invite the bot to your server (go to the bot settings page on discord developer portal)
# config_vars.py
from pymongo import MongoClient

discord_token = ""
mongodb_connection = ""

client = MongoClient(mongodb_connection)

ctfdb = client['ctftime'] # Create ctftime database
ctfs = ctfdb['ctfs'] # Create ctfs collection

teamdb = client['ctfteams'] # Create ctf teams database

serverdb = client['serverinfo'] # configuration db
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].