HashHawk is a Python-based password hash cracking tool that supports both dictionary and brute-force attacks. It provides a simple and interactive interface for users to crack password hashes using various algorithms and attack methods.
- Brute-force Attack: Generate custom password lists and perform brute-force attacks on hashed passwords.
- Dictionary Attack: Use an existing password dictionary file for efficient password cracking.
- Hashing Algorithms: Supports various hashing algorithms available in the hashlib library.
- Interactive Mode: User-friendly interactive mode for easy input and execution.
- Multiprocessing Support: Utilizes multiprocessing for faster brute-force attacks on multi-core systems.
Make sure to have the following Python libraries installed:
- Pwntools: A CTF framework and exploit development library.
- hashlib: Provides secure hash and message digest algorithms.
- multiprocessing: Supports the spawning of processes using an API similar to the threading module.
- itertools: Provides functions for creating iterators for efficient looping.
- string: Provides common string operations.
- datetime: Supplies classes for manipulating dates and times.
- argparse: Parser for command-line options, arguments, and sub-commands.
python hashhawk.py target_hash {bruteforce,dictionary}
target_hash
: The hash to be cracked.bruteforce
: Perform a brute-force attack.dictionary
: Perform a dictionary attack.
Run the script without command-line arguments to enter interactive mode.
python hashhawk.py
Follow the prompts to enter the target hash, attack type, and other relevant information.
- Python: HashHawk is written in Python.
- pwntools: A powerful library for interacting with binary programs.
Install the required dependencies using the following command:
pip install pwntools
- Run the script interactively:
python hashhawk.py
-
Enter the target hash, choose the attack type, and provide additional information as prompted.
-
Let HashHawk perform the password cracking.
This tool is intended for educational and ethical use only. Unauthorized access to computer systems and networks is illegal.
This project is licensed under the GNU General Public License v3.0.
Feel free to contribute, report issues, or suggest improvements!