> For the complete documentation index, see [llms.txt](https://sarpers-organization.gitbook.io/ctftricks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sarpers-organization.gitbook.io/ctftricks/_chapter-intro-11/offline-cracking/archive/trick-0604.md).

# Crack Zip Password Hash

***

You can crack the extracted zip password hash using Hashcat with the appropriate hashcat mode. The hash file (`zip_hash.txt`) is typically generated by a tool like `zip2john`. Use mode `13600` for these hashes.

```bash
zip2john example.zip > zip_hash.txt
hashcat -m 13600 -o cracked_zip.txt zip_hash.txt /usr/share/wordlists/rockyou.txt
```

The `-o cracked_zip.txt` flag saves the cracked password to a file. The effectiveness depends on the password complexity and the quality of your wordlist.
