[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ZipRarHunter is a command-line password cracking tool designed to crack passwords for ZIP and RAR archive files using a wordlist. It supports displaying password attempts with colored output and helps automate the process of password recovery from encrypted archive files.

License

Notifications You must be signed in to change notification settings

s-r-e-e-r-a-j/ZipRarHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZipRarHunter

ZipRarHunter is a command-line password cracking tool designed to crack passwords for ZIP and RAR archive files using a wordlist. It supports displaying password attempts with colored output and helps automate the process of password recovery from encrypted archive files.

Features

  • Support for ZIP and RAR Files: ZipRarHunter works with both ZIP and RAR archives.
  • Wordlist-based Cracking: The tool uses a wordlist (a file containing potential passwords) to attempt cracking the password.
  • Colored Output: Password attempts and results are displayed with color using ANSI codes for easy readability. (Optional flag to disable colors)
  • Real-time Feedback: It shows the current password being attempted in real time, so you can track the progress.
  • Cross-platform: This tool works on Linux, macOS, and Windows (with Python installed).

Requirements

  • Python 3.x: Ensure that Python 3 is installed on your system.
  • Dependencies:
  • zipfile (for handling ZIP files)
  • rarfile (for handling RAR files) You can install the required Python packages using pip:
pip install rarfile

Installation

1.Clone the repository:

git clone https://github.com/s-r-e-e-r-a-j/ZipRarHunter.git
  1. Navigate into the directory:
cd ZipRarHunter
  1. Ensure all dependencies are installed. If not, run:
pip install -r requirements.txt
  1. install the tool
cd ZipRarHunter
sudo python3 install.py

then enter y for install

Usage

ZipRarHunter uses command-line arguments to specify the target file, wordlist, and file type (ZIP or RAR).

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 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.
  • --no-color: Disable colored output. By default, the output will include color for easier readability.

Example Commands

  1. Crack a ZIP file with a wordlist:
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip
  1. Crack a RAR file with a wordlist:
ziprarhunter -f /path/to/archive.rar -w /path/to/wordlist.txt -t rar
  1. Disable colored output:
ziprarhunter -f /path/to/archive.zip -w /path/to/wordlist.txt -t zip --no-color

Output Example

Trying password: password123
Password found for ZIP file: password123

How It Works

  1. ZIP File Cracking: The program opens the ZIP file using the zipfile module and sets the password for each attempt. It then uses testzip() to check if the password is correct. If the password is valid, it prints the success message and exits.

  2. RAR File Cracking: The program opens the RAR file using the rarfile module and attempts to extract the first file in the archive using each password from the wordlist. If the extraction succeeds, the password is deemed correct, and the program exits.

  3. Real-Time Feedback: Each password attempt is displayed on the screen in real time. The current password is shown with color-coded output to indicate progress.

uninstallation

cd ZipRarHunter
cd ZipRarHunter
sudo python3 install.py

Then 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.

About

ZipRarHunter is a command-line password cracking tool designed to crack passwords for ZIP and RAR archive files using a wordlist. It supports displaying password attempts with colored output and helps automate the process of password recovery from encrypted archive files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages