/$$ /$$ /$$
| $$ | $$ | $$
| $$ | $$ /$$$$$$ /$$$$$$$| $$$$$$$ /$$$$$$ /$$$$$$
| $$$$$$$$ |____ $$ /$$_____/| $$__ $$ /$$__ $$ /$$__ $$
| $$__ $$ /$$$$$$$| $$$$$$ | $$ \ $$| $$$$$$$$| $$ \__/
| $$ | $$ /$$__ $$ \____ $$| $$ | $$| $$_____/| $$
| $$ | $$| $$$$$$$ /$$$$$$$/| $$ | $$| $$$$$$$| $$
|__/ |__/ \_______/|_______/ |__/ |__/ \_______/|__/ . ~ version -> 2023.1
Made with ❤ via OpenAI by Suman Roy! 🚀🚀🚀
A fast and efficient password hashing tool that generates rainbow tables using various cryptographic hash functions. This tool is designed to help security professionals and enthusiasts generate rainbow tables for password cracking or auditing purposes. Use precomputed hash for faster decryption, don't waste time on cracking!!!
- Supports a variety of hash functions, including MD5, SHA-256, SHA-512, and more.
- Multi-threaded for faster rainbow table generation.
- Customizable salt for password hashing.
- Progress bar using
tqdm
to monitor hashing progress.
- Python 3.x
tqdm
library for the progress bartermcolor
library for colorful text (optional)
You can install the required Python libraries using pip
:
sudo pip install tqdm termcolor hashlib argparse
No fuss installation method
git clone https://github.com/sumanrox/hasher.git && cd hasher
chmod +x install.sh && ./install.sh
If you are using a salt for your passwords
python hasher.py -w wordlist.txt -o output.txt -t 100 -x sha256 --salt 'mysalt'
If you are not using salt for your passwords
python hasher.py -w wordlist.txt -o output.txt -t 100 -x sha256
hasher w wordlist.txt -o output.txt -t 100 -x sha256 --salt 'mysalt'
# or
hasher -w wordlist.txt -o output.txt -t 100 -x sha256
When using the hasher program on bigger wordlists, it eats up the entire ram, so rather than processing a bigger file like over 1 GB, we rather split the files and then do process those subfiles and then merge them with sort while removing duplicates. All the user needs to do is chmod +x on this hashbigfiles.bash and run the script with appropriate arguments.
# Make it executable
chmod +x hashbigfiles.bash
# Execute it
./hashbigfiles.bash /path/to/wordlists HASH_TYPE NUMBER_OF_THREADS
-h or --help: Display help menu
-w or --wordlist: Path to the wordlist file containing passwords to hash.
-o or --output: Path to the output file where hashed passwords will be saved.
-t or --threads: Number of threads for multi-threading (default: 1).
-x or --hash-type: Hash type to use (e.g., md5, sha256).
--salt: Optional salt string to use for password hashing.
Contributions are welcome! If you have any improvements or suggestions, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
I would like to express my gratitude to the following open-source libraries and tools that made this project possible:
-
tqdm: A fast, extensible progress bar for Python and CLI, used to provide a progress bar during password hashing.
-
hashlib: A Python library for secure hash and message digest algorithms, used for password hashing.
-
argparse: The argparse module makes it easy to write user-friendly command-line interfaces, used for parsing command-line arguments.
-
termcolor: A simple Python module for ANSI color formatting of output in the terminal, used for colorful console messages.
We greatly appreciate the contributions of the developers and maintainers of these projects to the open-source community.