Check password of large 7zip file quickly

I have a large 7zip file which I forgot the password to.
I can narrow down the password possibilities to a word list with about 2000 passwords.
Only problem is, that it takes ages for each password to be checked, since its such a large file.
Is there a way to speed up the process, or is a 7zip file encrypted as "one"?
I am a complete noob in this field, thats why I am asking.

3

1 Answer

Use the commandline interface of 7z to test the archive. As a parameter you can pass a password. You can wrap this in a scripting for-loop that loops over your candidate passwords.

The 7z command is thus: 7z t archive.zip -p <password>

In pseudocode:

FOR password IN passwordlist: exitcode = 7z t archive.zip -p password IF exitcode == 0: PRINT Found password: password
5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like