This tool automates the process of analyzing password hashes, identifying the hashing algorithms, and cracking the hashes using either dictionary or brute-force attacks. It supports common hash algorithms like MD5, SHA1, SHA256, and bcrypt.
- Identify common hash types (MD5, SHA1, SHA256, bcrypt).
- Crack hashes using dictionary-based attacks (with customizable wordlists).
- Optionally perform brute-force attacks for weak hashes.
- Generate a detailed HTML report on the cracking results.
- Python 3.x
- Required libraries listed in
requirements.txt
(install viapip
)
Clone this repository and install the required dependencies
Enter hash to crack: 5f4dcc3b5aa765d61d8327deb882cf99
Identified hash type: md5
Password cracked: password
Cracking completed in 3.45 seconds.
<html>
<head><title>Hash Cracking Report</title></head>
<body>
<h1>Hash Cracking Report</h1>
<h2>Hash: 5f4dcc3b5aa765d61d8327deb882cf99</h2>
<h2>Hash Type: md5</h2>
<p><b>Cracked Password: </b>password</p>
</body>
</html>
- Input: The user is prompted to input a hash value to crack (e.g.,
5f4dcc3b5aa765d61d8327deb882cf99
). - Hash Identification: The script identifies the hash type (
md5
in this case). - Cracking Process:
- The script first attempts to crack the hash using a dictionary attack with a wordlist.
- If the dictionary attack fails, it then attempts brute-force cracking.
- In this example, the password (
password
) is successfully cracked using the dictionary attack.
- Time Taken: The total cracking time is shown (e.g.,
3.45 seconds
). - HTML Report: A report is generated in HTML format, displaying the hash, hash type, and cracked password.