fromnervok82/ZipRarHunter
ZipRarHunter is a powerful command-line ethical hacking tool designed to crack passwords of ZIP and RAR archive files using a wordlist.
ZipRarHunter
ZipRarHunter is a powerful command-line ethical hacking tool designed to crack passwords of ZIP and RAR archive files using a wordlist.It automates the process of password recovery from encrypted archives
Features
-
Cracking ZIP files encrypted with both ZipCrypto and AES-256 encryption
-
Cracking RAR4 archives using multithreaded brute-force attacks
(Also supports RAR5 if the paid version of UnRAR is installed) -
Improve cracking speed by specifying the number of threads with
--threadsoption (default is 4) -
Efficient memory usage by reading wordlists line-by-line (streaming)
-
Automatic detection of ZIP encryption methods
-
Encoding fallback support (UTF-8 and Latin-1) for various wordlists
Requirements
- Python 3.x: Ensure that Python 3 is installed on your system.
- Dependencies:
pyzipper(for handling ZIP files)rarfile(for handling RAR files)
You can install the required Python packages using:pip3
pip3 install pyzipperpip3 install rarfileInstallation
- Clone the repository:
- Navigate to the ZipRarHunter directory:
cd ZipRarHunter- Ensure all dependencies are installed. If not, run:
pip3 install -r requirements.txt- Navigate to the ZipRarHunter directory
cd ZipRarHunter-
Install the tool
Run the install.py script
sudo python3 install.pythen enter y for install
Usage
ZipRarHunter uses command-line arguments to specify the target file, wordlist, file type (ZIP or RAR) and the number of threads.
Basic Usage
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip
ziprarhunter -f /path/to/archive.rar -w /path/to/wordlist.txt -t rarCommand-line Arguments
-for--file: The path to the ZIP or RAR file you want to crack.-wor--wordlist: The path to the wordlist file that contains potential passwords.-tor--type: The type of archive. Acceptable values are zip or rar.--threads: Number of threads to use (default:4).
Example Commands
- Crack a ZIP file with a wordlist:
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip- Crack a RAR file with a wordlist:
ziprarhunter -f /path/to/archive.rar -w /path/to/wordlist.txt -t rar- Crack a zip file with 20 threads:
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip --threads 20Output Example
Tried: password
Password found : password123uninstallation
Run the install.py script
sudo python3 install.pyThen Enter n for uninstall
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This tool is intended for educational purposes only. It should be used responsibly and legally. Unauthorized use of this tool to crack passwords without permission is illegal and unethical.