Skip to content

John the Ripper

Classic open-source password cracker

Description

John the Ripper is an open-source password security auditing and password recovery tool. It auto-detects hash types and supports multiple cracking modes.

Installation

BASH
sudo apt install john

Basic Usage

BASH
# Auto-detect hash
john hash.txt

# Specific format
john --format=raw-md5 hash.txt

# With wordlist
john --wordlist=rockyou.txt hash.txt

# Show cracked
john --show hash.txt

Advanced Usage

BASH
# Format examples
john --format=bcrypt hash.txt
john --format=raw-sha256 hash.txt

# List supported formats
john --list=formats

# Rules
john --wordlist=rockyou.txt --rules hash.txt

# Single crack mode
john --single hash.txt