I had to bruteforce 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
No comments: