Computer Guide Downloads Tricky Guide

rarPasswordCracker – Bruteforces a password protected rar/zip file

winrar-696x435
Written by Pankaj Rawat

From rarPasswordCracker: WinRAR Password Cracker allows you to recover/crack your lost password for WinRAR/RAR files easily and effectively. The application tries to unlock your WinRAR file by two different ways. One is brute-force password recovery, which will test all possible combinations of characters. The other way is dictionary password recovery, which will test passwords from a carefully defined password lists. It is pretty easy to use, no skill needed.

 

I had to brute-force a rar file in a ctf so wrote some ad-hoc code in python. Works in Linux/Windows.

How to use rarPasswordCracker

Windows

Install Python if you have not already done so.

launch Python & run script bruteforce.py

python

Linux

First clone rarPasswordCracker

git clone https://github.com/GauthamGoli/rarPasswordCracker.git

Change in to rarPasswordCracker directory.

cd rarPasswordCracker

Replace RARFILE.rar with the path to the .rar you file you would like to brute force.

python bruteforce.py --fr RARFILE.rar -c abcdefghijklmnopqrst0123 -n 6

Syntax

python bruteforce.py --fr filetocrack.rar -c charset -n sizeofpassword

python bruteforce.py --fr RARFILE.rar -c abcdefghijklmnopqrst0123 -n 6

python bruteforce.py --fz ZIPFILE.zip -c charset -n sizeofpassword

Download Resources

Click Here

This program is intended to recover lost passwords for RAR/WinRAR archives of versions 2.xx and 3.xx. The program finds by the method of exhaustive search all possible combinations of characters (“brute-force” method) or using passwords from lists (“wordlist” or “dictionary” method). Self-extracting archives and multivolume archives are supported. The program is able to save a current state (you can interrupt the program at any time, and restart from the same state later). Estimated time calculator allows you to configure the program more carefully.

About the author

Pankaj Rawat

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.