Cracking ZIP File
Sometimes ZIP file is protected with a password. If a password is weak then we can easily use the below method.
Step for cracking ZIP Password.
Step 1: Checking if the ZIP file is asking for credentials or not.
We can use 7z.
7z x $FileNameIf asking for a password then we will run the next command.
Step 2: Make a hash of the zip file.
zip2john $FileName > ziphashStep 3: Crack using john
john ziphash --wordlist=/usr/share/wordlists/rockyou.txtStep 4: See hash value
john ziphash --showYou can confirm by extracting the content of ZIP.
Last updated