Skip to content

bogiton/fish-decryptor

Repository files navigation

🎯 FiSH / mIRC Blowfish Decryptor

Decrypt your mIRC FiSH-encrypted messages with ease! FiSH uses Blowfish encryption for secure IRC chat. This repo provides Python and HTML/JS versions for quick decryption.


🚀 Purpose

Use these tools to:

  • 🔓 Decrypt ECB messages (+OK <ciphertext>)
  • 🔑 Decrypt CBC messages (+OK *<ciphertext>)
  • 🧩 Decode the custom FiSH Base64 format used in ECB messages
  • 📄 Recover plaintext from mIRC logs or encrypted key files

Perfect for recovering old logs, auditing mIRC encryption, or learning Blowfish in practice.


📂 Files

File Description
fish-decryptor.py Python script for batch decrypting text files. Supports ECB and CBC modes. Outputs to decrypted.txt.
fish-decryptor.html Client-side HTML/JS tool. Paste encrypted messages, enter your key, and get decrypted output instantly.
generate_test_blow_data.py Python script to generate Blowfish encrypted data for testing.

🐍 Python Version Quickstart

  1. Ensure Python 3 is installed.

  2. Install dependencies: pip install pycryptodome

  3. Set your key in fish-decryptor.py:

    raw_key = "your-blowfish-key"

  4. Place encrypted lines in encrypted.txt.

  5. Run: python fish-decryptor.py

  6. ✅ Decrypted lines appear in decrypted.txt.


🌐 HTML/JS Version Quickstart

  1. Open fish-decryptor.html in Chrome / Firefox / Edge.
  2. Enter your Blowfish key (prefix cbc: removed automatically if needed).
  3. Paste encrypted messages in Encrypted Input.
  4. Click Decrypt → see plaintext in Decrypted Output.
  5. 🔍 Stats show decrypted, unchanged, and error lines.

Example Screenshot

HTML FiSH Decryptor Example


⚡ Notes

  • ECB Mode: +OK <ciphertext> → uses FiSH custom Base64.
  • CBC Mode: +OK *<ciphertext> → standard Base64 with 8-byte IV prepended.
  • UTF-8 Keys: Keys must match original encoding.
  • Padding: CBC = PKCS#7, ECB = zero padding (\x00).

📚 References


💡 Tip: If your messages start with +OK *, they are CBC-encrypted. If +OK only, they are ECB-encrypted.

⚠️ Warning: These tools are for educational/research use. Handle decrypted data responsibly.

About

mIRC Blowfish ECB (+OK) and CBC (+OK *) message decryption (HTML & Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors