PasswordGeeks
Tool Guide

John the Ripper: Offline Password Cracking

One of the most widely used offline password cracking tools — used by authorized security professionals to test whether password hashes withstand real-world cracking attempts.

What is John the Ripper?

John the Ripper ("JtR") is a free, open-source password cracking tool originally released in 1996. Unlike Hydra, which tests live login attempts over a network, John the Ripper works offline — taking password hashes that have already been obtained through an authorized audit and attempting to recover the original password.

It supports a huge range of hash types, from simple Unix crypt hashes to Windows NTLM, and is a standard tool taught in most penetration testing courses and certifications.

Online vs. Offline Cracking

This distinction trips up beginners: online tools like Hydra send login attempts over the network to a live service, which is slow and easily rate-limited. Offline tools like John the Ripper work directly against a hash file with no network involved, attempting millions of guesses per second — exactly why protecting hash files matters so much.

Cracking Modes

Basic Commands

john [options] [hash file]

Example Workflow (Illustrative Only)

Uses a placeholder filename representing hashes exported from your own authorized lab:

john --wordlist=rockyou.txt sample_hashes.txt john --show sample_hashes.txt

Real-World Use Cases

John the Ripper typically comes into play after credentials are already obtained through another means — a breached database export, a memory dump, or hashes extracted during an authorized penetration test. If you're testing live login services instead of offline hashes, Hydra is the right tool for that job. For faster GPU-accelerated cracking on large hash sets, see our Hashcat tutorial as well.

John the Ripper vs. Hashcat

ToolProcessingBest For
John the RipperCPU-based (some GPU support)Broad hash-type support, flexible rules
HashcatGPU-acceleratedRaw cracking speed on large hash sets

Defending Against Hash Cracking

Frequently Asked Questions

Is John the Ripper legal?

Yes, against hashes you own or have written authorization to test.

Is it free?

Yes, the core tool is free and open-source; a paid Pro version adds extra features.

John the Ripper vs. Hydra?

Hydra attacks live login services over a network. John the Ripper cracks hashes offline, after they've already been obtained.

Why do some passwords never get cracked?

Long, random passwords combined with strong hashing (like bcrypt) can make cracking computationally infeasible.

Conclusion

John the Ripper is foundational for understanding password hash security — always within a legal, authorized scope.