(May 5, 2022, 03:24 PM)Posh_Pete Wrote: (April 13, 2022, 02:19 PM)Jawed Wrote: John The Ripper.
Hello. Where can I learn how to get the password from a zip / rar archive using Ripper?
To crack a zip file, we first need to extract the password hash then crack it with John the Ripper. To extract zip file password hashes, we will use a tool called
zip2john
. If we were working with a rare file, we would use the tool
rar2john
to extract the hashes.
Execute the command below to extract the hashes on your zipped file and store them in a file named
zip.hashes
.
$ zip2john protected.zip > zip.hashes
After successfully extracting the password hash, we will crack it with John the Ripper using a wordlist. Execute the command below:
$ john --wordlist=/usr/share/wordlists/crypton.txt zip.hashes