Skip to content

RAJ015HACKING/Hash_Cracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

What is Hash Cracker? Hash Cracker is a custom Python-based security tool designed to crack cryptographic hashes using two popular methods:

๐ŸŽฏPurpose:---

  • 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

๐Ÿงฌ How It Works

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:

โœ… Two Attack Modes

  1. 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.
  2. 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.

๐Ÿ” Supported Hash Types

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

๐Ÿ” Overview

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.


๐ŸŽฏ Features

  • ๐Ÿ”“ 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)

โš™๏ธ Requirements

Install the required Python modules with:

pip install tqdm termcolor

Usage:

python hash_cracker.py

Input 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:

Screenshot 2025-07-14 230035

About

What is Hash Cracker? Hash Cracker is a custom Python-based security tool designed to crack cryptographic hashes using two popular methods:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages