How to Find Password for Compressed Archive Files in Ubuntu?
Admin - June 4th
If you forget the password for compressed archive files (.rar, .zip, .7z) like me, you can follow the instruction at below.
first of all we need to download this program called RarCrack:
wget http://superb-east.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2
Now we need to unpacking this program:
tar -xvjf rarcrack-0.2.tar.bz2
And cd to the program folder:
cd rarcrack-0.2
And now we need to install this program:
sudo apt-get install libxml2-dev
make
sudo make install
Okay everything is ready to using this program:
rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]
Everything in [] are optional, RarCrack default crack two threads and auto-detect the archive type. RarCrack currently crack maximum in 12 threads.
After the cracking started RarCrack will print the current status of cracking and save it's to a status file. There will be a sample XML file and you see there is a character set. If you want, you can modify this file and when you start RarCrack again the program will be use new variables.
RarCrack checking the password one by one and it can be take more time if your password is strong.
WARNING: DaniDaily.com dose NOT responsible for any illegal usage of this program, then please don't use this program for any illegal things!