Crack Zip Password

Last modified: 2023-03-28

Archive

When unzipping archived files, we're sometimes asked the passphrase. We may be able to crack the password with various ways.

John The Ripper

Format the archived file to make the John to recognize it, then crack the hash using John.

zip2john example.zip > hash.txt
john --wordlist=wordlist.txt hash.txt

fcrackzip

# -u: unzip
# -D: dictionary
# -p: strgin as initial password/file
fcrackzip -u -D -p passwords.txt sample.zip