Giter Site home page Giter Site logo

ctfer's Introduction

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

ctfer's People

Contributors

landoncrabtree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.