illustration✦✦
unravel
tool
John the Ripper: a long-running password auditing tool
Checks many hash types for weak passwords, even on ordinary CPUs.
Curated by Signal · 10/5/2026
What it is
John the Ripper is a long-running password cracking tool that supports a huge range of hash and file formats, and it runs well even on ordinary CPUs. Administrators use it to find weak passwords in their own systems before an attacker does. Use it only on hashes you are authorized to test.
Preparing hashes
# Extract hashes from a Linux shadow file (needs root)
unshadow /etc/passwd /etc/shadow > hashes.txt
# Convert a ZIP file's password hash for cracking
zip2john protected.zip > zip_hash.txt
# Convert an RAR file's password hash
rar2john protected.rar > rar_hash.txt
# Convert an SSH private key's passphrase
ssh2john id_rsa > ssh_hash.txt
# Convert an Office document's password
office2john document.docx > office_hash.txt
Basic cracking
# Crack using the default wordlist
john hashes.txt
# Crack using a specific wordlist
john --wordlist=rockyou.txt hashes.txt
# Crack with a specific format specified explicitly
john --format=raw-md5 hashes.txt
Wordlist with rules
# Apply built-in mangling rules (capitalization, digits, etc.)
john --wordlist=rockyou.txt --rules hashes.txt
# Use a specific rule set
john --wordlist=rockyou.txt --rules=Jumbo hashes.txt
Incremental (brute-force) mode
# Try all character combinations (default mode)
john --incremental hashes.txt
# Limit to a specific character set
john --incremental=Digits hashes.txt
# Limit to alphabetical only
john --incremental=Alpha hashes.txt
Single crack mode (uses account info as a hint)
# Use usernames/GECOS fields from the hash file as guesses
john --single hashes.txt
Viewing results
# Show all cracked passwords found so far
john --show hashes.txt
# Show cracked passwords for a specific format
john --show --format=raw-md5 hashes.txt
# List supported formats
john --list=formats
Session management
# Name a session
john --wordlist=rockyou.txt hashes.txt --session=audit1
# Restore (resume) a session
john --restore=audit1
# Pause a running session with Ctrl+C, it saves automatically
Performance
# Benchmark the system
john --test
# Use multiple CPU cores (fork)
john --fork=4 --wordlist=rockyou.txt hashes.txt
# List available OpenCL/GPU devices (Jumbo build)
john --list=opencl-devices
Typical workflow
# 1. Extract hashes from the source (example: Linux shadow file)
unshadow /etc/passwd /etc/shadow > hashes.txt
# 2. Try single mode first (fast, uses account info)
john --single hashes.txt
# 3. Try a wordlist with rules
john --wordlist=rockyou.txt --rules hashes.txt
# 4. Fall back to incremental mode for remaining hashes
john --incremental hashes.txt
# 5. Review everything cracked so far
john --show hashes.txt
Curated summary. The original work belongs to its authors.
#passwords#audit
Related reading
illustration✦✦
unravel
Hashcat: password recovery on GPUs
~/signal
terminal
$ nmap -sV -p 22,80,443 scanme.nmap.org Starting Nmap ( https://nmap.org ) PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp closed https
Nmap: network discovery and port scanning
capture.pcap
packet capture
No. Source Destination Proto Info 1 192.0.2.10 198.51.100.7 DNS Standard query A example.com 2 198.51.100.7 192.0.2.10 DNS Standard query response 3 192.0.2.10 203.0.113.5 TCP 52144 → 443 [SYN] 4 203.0.113.5 192.0.2.10 TCP 443 → 52144 [SYN, ACK] 5 192.0.2.10 203.0.113.5 TLS Client Hello