John the Ripper logo

John the Ripper

Classic password auditing suite, best at slow hashes and encrypted files you own. Free, open source.

Overview

John the Ripper is the veteran password auditor, strongest where Hashcat is weakest: slow salted hashes, encrypted archives, documents and SSH keys you own and need assessed. Its "single crack" mode builds candidates from the account names themselves — exactly how lazy passwords are really chosen — and its wordlist-plus-rules engine squeezes maximum signal from minimum effort.

Use John for encrypted files and CPU-friendly audits, Hashcat when you have GPUs and fast hashes. Together they cover essentially every password audit a defender will ever run on their own systems.

Key features

  • Superb slow-hash and encrypted-file support
  • Single-crack mode from account metadata
  • Huge format library: archives, docs, keys, databases
  • Custom rules and incremental modes
  • Jumbo build adds community formats and MPI
  • Free and open source (GPL)

Install & first run


# Debian / Ubuntu / Kali

sudo apt install john



## Audit your own shadow-style file

john --wordlist=/usr/share/wordlists/rockyou.txt.gz hashes.txt



# Show cracked passwords

john --show hashes.txt



# Crack an encrypted zip you own (convert first)

zip2john protected.zip > zip.hash

john --wordlist=words.txt zip.hash

Real-world example

A departing contractor returns a laptop with an encrypted archive nobody can open. With written approval, convert it with zip2john and run a wordlist-plus-rules pass in your lab. The archive opens on a seasonal password — which becomes exhibit A for the new generated-password policy.

Common questions

John or Hashcat?

John for encrypted files and slow hashes on CPU; Hashcat for fast hashes on GPU. Auditors keep both.

Jumbo or core?

Take jumbo: it is the community build with GPU support, more formats and all the rules. Core is the minimal official tarball.

Where do I get wordlists?

rockyou.txt ships with Kali; SecLists is the larger general collection. Rules (best64, OneRuleToRuleThemAll) get more out of the same list than a bigger one.

How do I see cracked passwords?

john --show hashes.txt prints recovered ones, and --pot=name.pot keeps several engagements separate.

Hashcat

The fastest password recovery and auditing tool: measure hash-cracking resistance on your own hashes. Free, open source.

Hydra

Online login auditing against your own services: test credential strength where you are authorized. Free.


Keep exploring: browse every assessment phase in the Pentest Hub.

Authorized testing only — only ever test systems you own or have explicit written permission to assess.