Back to Hash Cracker

Hash Cracker Documentation

Overview

A multi-threaded hash cracking tool that attempts to find passwords from hashes using dictionary attacks with support for multiple hash types.

Installation

To install the required dependencies, run:

$pip install colorama

Requirements

  • Python 3.6+
  • colorama

Basic Usage

The basic usage of the tool is as follows:

$python hash_cracker.py <hash> <wordlist> --type md5 --threads 4

Command Line Arguments

ArgumentDescriptionDefault
--helpDisplay help information-
--typeHash type (md5, sha1, sha256, sha512)md5
--threadsNumber of threads4

Examples

Crack MD5 Hash

Crack an MD5 hash using a wordlist
$python hash_cracker.py 5f4dcc3b5aa765d61d8327deb882cf99 wordlist.txt

Using SHA-256

Crack a SHA-256 hash
$python hash_cracker.py 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8 wordlist.txt --type sha256

Increase Threads

Use 8 threads for faster cracking
$python hash_cracker.py 5f4dcc3b5aa765d61d8327deb882cf99 wordlist.txt --threads 8

Troubleshooting

Permission Errors

If you encounter permission errors, especially with network tools like IDS or Packet Sniffer, make sure to run the script with administrator privileges (sudo on Linux/macOS).

Dependencies

If you encounter import errors, ensure all required dependencies are installed:

$pip install colorama

Security Considerations

This tool is provided for educational and legitimate security testing purposes only. Always ensure you have proper authorization before using security tools on any network or system.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.