What is Hash Cracker? Hash Cracker is a custom Python-based security tool designed to crack cryptographic hashes using two popular methods:
- Hash Cracker helps security professionals, ethical hackers, and penetration testers to:
- Recover lost passwords (ethical use only)
- Test the strength of password hashing implementations
- Demonstrate the risk of weak or guessable passwords
- Participate in CTF (Capture The Flag) or cybersecurity competitions
Hash Cracker works by comparing a user-provided hash to the hashes of potential plaintext passwords. If a match is found, it reveals the original password. It supports:
- Dictionary Attack (Wordlist Mode):
- Takes a list of known or likely passwords.
- Hashes each one.
- Compares it against the target hash.
- Efficient if the password is common or reused.
- Brute Force Attack:
- Tries every possible combination of characters (a-z, A-Z, 0-9, symbols) within a user-specified length range.
- Much slower but guaranteed to find the password if it exists within the defined character space.
Hash Cracker supports all major types available in Pythonโs hashlib:
- md5
- sha1
- sha224
- sha256
- sha384
- sha512
- sha3_224, sha3_256, sha3_384, sha3_512
Hash Cracker is a multi-threaded password hash cracking utility written in Python. It supports both dictionary and brute-force attacks for common hash algorithms including MD5, SHA-1, SHA-256, and more.
This tool is perfect for security researchers, penetration testers, and CTF players looking to verify hash weaknesses.
- ๐ Supports major hashing algorithms (
md5,sha1,sha256,sha512, etc.) - โ๏ธ Two cracking modes:
- Dictionary attack using wordlists
- Brute-force with custom charset and length range
- ๐ง Multi-threaded execution using
ThreadPoolExecutor - ๐ Real-time progress display with
tqdm - ๐จ Styled terminal output using
termcolor - ๐ ๏ธ Cross-platform (Linux, Windows, macOS)
Install the required Python modules with:
pip install tqdm termcolorUsage:
python hash_cracker.pyInput Prompts: Hash to crack: Paste your hash string Crack mode: Choose (1) Wordlist or (2) Brute Force Hash type: Choose from supported types Wordlist path or brute-force charset/lengths depending on mode
Brute Force Attack Demo:
