Skip to main content

Interactive CTF, Cryptography & Cybersecurity Toolkit

Project description

๐Ÿ”ฅ CTF-H

Interactive CTF, Cryptography & Cybersecurity Toolkit

CTF-H is a fully interactive, menu-driven CLI tool designed for:

  • CTF competitions
  • Cybersecurity learning
  • Cryptography practice
  • Reversing & forensics
  • Web security testing
  • Steganography challenges
  • Encoding/decoding tasks

Launch it with:

ctfh

CTF-H opens a full-screen ASCII menu with nested options such as:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•—                    โ•‘
โ•‘  โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•                    โ•‘
โ•‘  โ–ˆโ–ˆโ•‘      โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•                     โ•‘
โ•‘  โ–ˆโ–ˆโ•‘      โ–ˆโ–ˆโ•‘   โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•—                     โ•‘
โ•‘  โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•—                    โ•‘
โ•‘   โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•   โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•                    โ•‘
โ•‘                                                       โ•‘
โ•‘     Interactive CTF & Cybersecurity Toolkit          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Main Menu
------------------------------------------------------------
  1. Hashing
  2. Ciphers
  3. Encoding / Decoding
  4. Steganography
  5. Binary Analysis
  6. Vulnerability Scanner
  7. JavaScript Tools
  8. HTTP Fuzzing
  9. Exit
------------------------------------------------------------

Users navigate by selecting numbers, and each section expands into its own submenu.


๐Ÿงฐ Features (Menu-Based)

1. Hashing Module

Interactive hashing options:

  • MD5
  • SHA1
  • SHA256
  • SHA512
  • SHA3 variants (224, 256, 384, 512)
  • Blake2b

2. Cipher Module

Includes:

  • Caesar (encrypt, decrypt, bruteforce)
  • Vigenรจre
  • Atbash
  • XOR cipher
  • Rail Fence
  • Frequency analysis

3. Encoding / Decoding

Supports:

  • Base64 / Base32 / Base58 / Base85
  • Hex
  • Binary / ASCII
  • URL encode/decode
  • ROT13 / ROT-N
  • XOR encode/decode

4. Steganography Tools (CTF-safe)

  • PNG LSB embed / extract
  • BMP extract
  • EXIF metadata dump

5. Binary Analysis

  • file metadata
  • strings extraction
  • objdump preview (if installed)
  • simple entropy check

6. Vulnerability Scanner

Pattern detection for:

  • eval()
  • innerHTML
  • document.write
  • shell=True
  • pickle.loads
  • os.system
  • And more...

7. JS Tools

  • JS prettifying
  • Suspicious sink detection

8. HTTP Fuzzer

Safe fuzzing with:

  • Required confirmation before use
  • Controlled payload sets
  • Custom payload support

๐Ÿš€ Installation

Development Install

git clone https://github.com/your/ctfh.git
cd ctfh
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

System-Wide Install

pip install .

Full Features Install

For all features including steganography and JavaScript tools:

pip install -e ".[full]"
# or
pip install -r requirements-full.txt

Starts with:

ctfh

๐Ÿ“‹ Requirements

Minimum:

  • Python 3.10+
  • colorama
  • requests

Full Features:

  • Pillow (for steganography)
  • jsbeautifier (for JavaScript prettifying)
  • base58 (for Base58 encoding)

โš ๏ธ Disclaimer

This tool is for educational purposes and authorized testing only. Always ensure you have explicit permission before using the HTTP fuzzing module or vulnerability scanner on any system you do not own.


๐Ÿ“ License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctfh-1.0.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctfh-1.0.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file ctfh-1.0.0.tar.gz.

File metadata

  • Download URL: ctfh-1.0.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for ctfh-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1fa7ae1ba9459468a46b96780ef783616db5370bbf752757b340d941ff2f5f56
MD5 7a566445bbaafe119df41e8424830284
BLAKE2b-256 8670a8690535e8ca52476c082dfc1b40f1e0c7a0df4960381f96109addc3f07d

See more details on using hashes here.

File details

Details for the file ctfh-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ctfh-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for ctfh-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5408b3a9094e5d2a6d3c59d1c00fece5b25d7552275d3aea41fa20089e525e6
MD5 7f828854118de303085bab64bfad3e2d
BLAKE2b-256 40a5aac80a25d42f277a82d3210a96bbd59cf6e3d2ac5c9ec8099cacb5d6f2d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page