LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zip2john

Extract password hashes from ZIP files

TLDR

Extract hash from ZIP
$ zip2john [archive.zip] > [hash.txt]
copy
Extract specific file
$ zip2john [archive.zip]::[file.txt] > [hash.txt]
copy
Then crack with John
$ john [hash.txt]
copy
Show cracked password
$ john --show [hash.txt]
copy

SYNOPSIS

zip2john [options] archive.zip [> hash.txt]

DESCRIPTION

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.

USAGE WORKFLOW

1. Extract hash: `zip2john archive.zip > hash.txt`2. Crack hash: `john hash.txt`3. View result: `john --show hash.txt`

INSTALL

sudo dnf install john
copy
sudo pacman -S john
copy
sudo apk add john
copy
sudo zypper install john
copy
brew install john
copy
nix profile install nixpkgs#john
copy

CAVEATS

For authorized recovery only. Strong passwords take time. Part of John the Ripper suite.

HISTORY

zip2john is part of John the Ripper password cracker. It enables ZIP password recovery.

SEE ALSO

john(1), rar2john(1), pdf2john(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid