I'm trying to do a bruteforce attack on a rar archive and I need the password-check to be as fast as possible. I call rarlab's "unrar" command line utility from my program in this way:
unrar t -p[password] archive.rar
And it works, but is extremely slow. The encrypted file inside the archive is about 300MB big, and unrar utility tells me there's a CRC error (wrong password) only after testing the whole file size. (which takes 10-15 secs)
Is there a quicker way to test just the archive password?
KRyLack RAR Password Recovery is a free RAR password cracker tool. It makes use of the brute-force technique in finding the password. The main screen of the program lets you set all the parameters you want. You can choose a RAR file by clicking on the browse button.
The password for RAR file is set by the person who created it. The easiest way to get the password is to ask the person who created the file for the password. WinRAR has no backdoor for lost/forgotten passwords, and we are unable to help you retrieve a lost/forgotten password.
There are only two ways to open a password-locked RAR file -- having the password, or using cracking software to determine the password.
Right-click on your corrupted RAR or ZIP file and select “Open with WinRAR” from the context menu. When WinRAR opens, click the Tools menu and select Repair archive. Click the Browse button to select the destination location where the repaired RAR/ZIP file has to be saved.
Look with rar l
if the archive contains more files than the "main" file you'd like to extract. There are usually .txt or .nfo files contained in the archive with few KB-s. You can then execute brute force attack to extract only the smallest file in archive with rar -ppassword x <archive> <file>
what should be much faster.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With