the_open_door
coffee
ESEN
← Tools

John the Ripper

Cracks hashes and containers (zip, pfx, psafe...).

John the Ripper, an offline hash cracker. It auto-detects the format and attacks by wordlist, rules or brute force. Its *2john script ecosystem (zip2john, ssh2john, pfx2john, keepass2john...) turns almost any protected file into a crackable hash.

Family Cracking & wordlists

Flags --wordlist --format --show

Concepts Hash Cracking, Cracking /etc/shadow, Cracking protected files (.zip, .pfx, .kdbx)

Cheatsheet Hashes

Installation

sudo apt install -y john

Useful commands5 commands

When it fails

  • No password hashes left to crack (see FAQ)It is not that nothing came out: it is that it was already cracked in an earlier run and john does not repeat work. The password lives in ~/.john/john.pot and comes back with john --show <file>. To try again from scratch you have to remove that entry from the .pot.seen in Forest

Appears in

Some machines where its use is documented; not an exhaustive list.