Forrest logo
back to the zip2john tool

zip:tldr:1f2bd

zip: Extract the password hash from an archive, listing all files in the archive.
$ zip2john ${filename-zip}
try on your machine

The command "zip2john ${filename-zip}" is used to convert a ZIP file into a format that can be cracked by password cracking tools like John the Ripper. Here's a breakdown of the command:

  1. "zip2john": This is the command that we execute.
  2. "${filename-zip}": This is a placeholder for the name of the zip file you want to convert. You need to replace it with the actual name of the file, including the .zip extension.

When you run this command in your terminal, it will convert the specified ZIP file into a "hash" or "hashes" format that can be used by tools like John the Ripper to attempt the cracking of passwords associated with the ZIP file. The resulting output can be saved into a file and then used as input for password cracking attempts.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zip2john tool