https://github.com/s-r-e-e-r-a-j/ziprarhunter
ZipRarHunter is a command-line password cracking tool designed to crack passwords for ZIP and RAR archive files using a wordlist.
https://github.com/s-r-e-e-r-a-j/ziprarhunter
ethical-hacking ethical-hacking-tools hacking-tool hacking-tools kali-linux-hacking kali-linux-tools passwordcracker python python3 zipcracker ziprarhunter
Last synced: 10 months ago
JSON representation
ZipRarHunter is a command-line password cracking tool designed to crack passwords for ZIP and RAR archive files using a wordlist.
- Host: GitHub
- URL: https://github.com/s-r-e-e-r-a-j/ziprarhunter
- Owner: s-r-e-e-r-a-j
- License: mit
- Created: 2024-11-19T13:02:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T09:51:58.000Z (about 1 year ago)
- Last Synced: 2025-04-14T11:56:24.497Z (about 1 year ago)
- Topics: ethical-hacking, ethical-hacking-tools, hacking-tool, hacking-tools, kali-linux-hacking, kali-linux-tools, passwordcracker, python, python3, zipcracker, ziprarhunter
- Language: Python
- Homepage:
- Size: 75.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## 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 `--threads` option (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
## Disclaimer
ZipRarHunter should be used responsibly and legally. Unauthorized use of this tool to crack passwords without permission is illegal and unethical.
## Requirements
- **Linux distributions:** `Debian`, `RedHat`, `Arch`
- **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`
```bash
pip3 install pyzipper
```
```bash
pip3 install rarfile
```
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/s-r-e-e-r-a-j/ZipRarHunter.git
```
2. **Navigate to the ZipRarHunter directory:**
```bash
cd ZipRarHunter
```
3. **Ensure all dependencies are installed. If not, run:**
``` bash
pip3 install -r requirements.txt
```
4. **Navigate to the ZipRarHunter directory**
```bash
cd ZipRarHunter
```
5. **Install the tool**
*Run the install.py script*
```bash
sudo python3 install.py
```
**then 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
```bash
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 rar
```
## Command-line Arguments
- `-f` or `--file`: The path to the ZIP or RAR file you want to crack.
- `-w` or `--wordlist`: The path to the wordlist file that contains potential passwords.
- `-t` or `--type`: The type of archive. Acceptable values are zip or rar.
- `--threads`: Number of threads to use (default:4).
## Example Commands
1. **Crack a ZIP file with a wordlist:**
``` bash
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip
```
2. **Crack a RAR file with a wordlist:**
```bash
ziprarhunter -f /path/to/archive.rar -w /path/to/wordlist.txt -t rar
```
3. **Crack a zip file with 20 threads:**
```bash
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip --threads 20
```
## Output Example
```bash
Tried: password
Password found : password123
```
## uninstallation
**Run the install.py script**
```bash
sudo python3 install.py
```
**Then Enter `n` for uninstall**
## License
This project is licensed under the MIT License - see the LICENSE file for details.