Linux command
zip2john 命令
网络
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Extract hash from ZIP
zip2john [archive.zip] > [hash.txt]
Extract specific file
zip2john [archive.zip]::[file.txt] > [hash.txt]
Then crack with John
john [hash.txt]
Show cracked password
john --show [hash.txt]
说明
zip2john extracts password hashes from ZIP files. It prepares hashes for John the Ripper. Hash extraction works on encrypted ZIPs. Both PKZIP and AES encryption. Output is John-compatible format. Pipe to file for cracking. Multiple files in archive handled. Each produces hash entry. Used with John the Ripper for recovery. Dictionary and brute-force attacks.
FAQ
What is the zip2john command used for?
zip2john extracts password hashes from ZIP files. It prepares hashes for John the Ripper. Hash extraction works on encrypted ZIPs. Both PKZIP and AES encryption. Output is John-compatible format. Pipe to file for cracking. Multiple files in archive handled. Each produces hash entry. Used with John the Ripper for recovery. Dictionary and brute-force attacks.
How do I run a basic zip2john example?
Run `zip2john [archive.zip] > [hash.txt]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more zip2john examples?
This page includes 4 examples for zip2john, plus related commands for nearby Linux tasks.