Kali Linux Zip Link

Now, use JohnTheRipper to attack the hash using a wordlist (like the famous rockyou.txt included in Kali).

john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt

Surprisingly, a minimal installation of Kali Linux (like the Kali Linux Light or the ARM builds) may not come with the zip and unzip utilities pre-installed. The full edition usually includes them, but you should always verify.

Open a terminal and type:

zip --version

If you see a "command not found" error, installation takes seconds:

sudo apt update
sudo apt install zip unzip -y

First, convert the ZIP file into a hash John can understand: kali linux zip

zip2john target.zip > zip_hash.txt

Now run John with the famous rockyou.txt wordlist:

john --wordlist=/usr/share/wordlists/rockyou.txt zip_hash.txt

John the Ripper is a more robust cracking tool that handles many file types. However, John cannot crack a Zip file directly; you must first extract the hash (the encrypted password string) from the Zip file. Now, use JohnTheRipper to attack the hash using

Step 1: Extract the Hash Kali includes a utility called zip2john to extract the hash.


For complex passwords, hashcat is unmatched. Surprisingly, a minimal installation of Kali Linux (like

First, extract hash with zip2john (same as above). Then run hashcat:

hashcat -m 13600 -a 0 zip.hash /usr/share/wordlists/rockyou.txt