Skip to content

landoncrabtree/ctfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTF Bot

A Discord bot to help assist with common CTF tasks.

Features

  • Ciphers
    • Caesar Bruteforce
    • ATBASH
  • ROT47, ROT8000, ROT80000
  • Encodings
    • Binary
    • Octal
    • Decimal
    • Hexadecimal
    • Base32, Base58, Base64, Base85, Base91
    • Morse Code
    • URL Encoding
    • ASCII Table & Lookup
  • Hashes
    • MD5
    • SHA1
    • SHA256
    • SHA512
  • Images
    • OCR
  • Files
    • Strings
    • Hexdump
    • Metadata (EXIF)
    • .pyc Decompiler
  • Strings
    • Count character occurrences
    • Count number of words
    • Count number of characters
    • Replace characters
  • Magic - Automatically try different ciphers & encodings
  • Slash Command Support

Usage

Setting up the repository

git clone
cd ctfer
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Configuring the bot

cp .env.sample .env
nano .env

Installing other dependencies

Make sure you have the binaries in your PATH

Dependency Purpose
Tesseract OCR Command
Decompyle++ .pyc Decompiler

Running the bot

python3 main.py

Commands

Ciphers

  • /caesar
  • /atbash
  • /rot47
  • /rot8000
  • /rot80000

Encodings

  • /binary [encode|decode]
  • /octal [encode|decode]
  • /decimal [encode|decode]
  • /hexadecimal [encode|decode]
  • /base32 [encode|decode]
  • /base58 [encode|decode]
  • /base64 [encode|decode]
  • /base85 [encode|decode]
  • /base91 [encode|decode]
  • /morse [encode|decode]
  • /url [encode|decode]
  • /ascii_table
  • /ascii_lookup

Hashes

  • /md5
  • /sha1
  • /sha256
  • /sha512

Images

  • /ocr

Files

  • /strings []
  • /exif []
  • /hexdump
  • /pyc

Strings

  • /occurrences
  • /words
  • /characters
  • /replace <old_string> <new_string>

Magic

  • /crackme

About

A Python Discord Bot (using Pycord) to assist with common capture the flag (CTF) tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages