Forrest logo
tool overview
On this page you find all important commands for the CLI tool zip2john. If the command you are looking for is missing please ask our AI.

zip2john

Tool to crack ZIP passwords

List of commands for zip2john:

  • zip:tldr:1f2bd zip: Extract the password hash from an archive, listing all files in the archive.
    $ zip2john ${filename-zip}
    try on your machine
    explain this command
  • zip:tldr:c3789 zip: Extract the password hash using [o]nly a specific compressed file.
    $ zip2john -o ${path-to-compressed_file} ${filename-zip}
    try on your machine
    explain this command
  • zip:tldr:f8d16 zip: Extract the password hash from a compressed file to a specific file (for use with John the Ripper).
    $ zip2john -o ${path-to-compressed_file} ${filename-zip} > ${file-hash}
    try on your machine
    explain this command
tool overview