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.
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.
- Commandline options of 7z
- You can use the exitcode to check if you got the right password.
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