A powerful and enhanced hash identification tool, rewritten and modernized by @R2id7, originally inspired by Zion3Rβs hash identifier.
This Python script identifies common hash algorithms based on their format and length β from traditional algorithms like MD5 and SHA-1 to modern password hashing schemes such as bcrypt, Argon2, and scrypt.
- π§ Supports detection of many hash types
- π Includes modern formats (bcrypt, Argon2, scrypt, PBKDF2)
- π§ Detects Unix/Linux password hashes (
$1$ ,$5$ ,$6$ , etc.) - βοΈ Recognizes app-specific formats (WordPress, phpBB, Django, MySQL)
- π Colorful terminal output for easy readability
- π» Works in both interactive and command-line modes
- π¦ No dependencies β uses only Pythonβs standard libraries
- π Python 3.6+
- π» Works on Linux, macOS, and Windows terminals that support ANSI colors
Clone the repository:
git clone https://github.com/<your-username>/hash-id-v2.git
cd hash-id-v2Make it executable (optional on Linux/macOS):
chmod +x hash-id-v2.pyIdentify a hash directly:
python3 hash-id-v2.py "5f4dcc3b5aa765d61d8327deb882cf99"Example output:
Analyzing hash: 5f4dcc3b5aa765d61d8327deb882cf99
[+] Found 1 potential match(es):
- MD5
Note: Also matches MD4, NTLM, etc.
Run without arguments to enter interactive mode:
python3 hash-id-v2.pyThen enter hashes manually:
Enter Hash (or Ctrl+C to exit): $2y$12$D4G5f18o7aTMfLh4S5SAdeAXs2zGndV7d22iY2FztDLp2eOa6tS.a
Analyzing hash: $2y$12$D4G5f18o7aTMfLh4S5SAdeAXs2zGndV7d22iY2FztDLp2eOa6tS.a
[+] Found 1 potential match(es):
- bcrypt
- πΈ MD5 / MD4 / NTLM / MySQL
- πΈ SHA-1 / SHA-224 / SHA-256 / SHA-384 / SHA-512 / SHA3 / BLAKE2
- πΈ bcrypt / Argon2 / scrypt / PBKDF2-HMAC-SHA256
- πΈ Unix Crypt variants (
$1$ ,$5$ ,$6$ ) - πΈ App-specific: WordPress, phpBB, Joomla, Django
- πΈ Checksums: CRC32, Adler-32
#########################################################################
# __ __ __ ______ _____ #
# /\ \/\ \ /\ \ /\__ _\ /\ _ `\ #
# \ \ \_\ \ __ ____ \ \ \___ \/_/\ \ \ \ \/\ \ #
# \ \ _ \ /'__`\ / ,__\ \ \ _ `\ \ \ \ \ \ \ \ \ #
# \ \ \ \ \/\ \_\ \_/\__, `\ \ \ \ \ \ \_\ \__ \ \ \_\ \ #
# \ \_\ \_\ \___ \_\/\____/ \ \_\ \_\ /\_____\\ \____/ #
# \/_/\/_/\/__/\/_/\/___/ \/_/\/_/ \/_____/ \/___/ v2.0 #
# By @R2id7 #
#########################################################################
Pull requests are welcome! π‘
If you have improvements or new hash patterns to add:
- π΄ Fork the repository
- πΏ Create a new branch
- π§© Add your updates to
HASH_DEFINITIONS - π Submit a pull request
- π‘ Original idea: Zion3R
- π§ Refactored, enhanced, and maintained by @R2id7