Cryptography 6 commands
John the Ripper
Fast password security auditing and recovery tool. Supports hundreds of hash and cipher types including Unix, Windows, and many more.
passwordcrackinghashbrute-force
Installation
sudo apt install john
# or
brew install john-jumbo
# or build from source at openwall.com/johnCommands & usage
6 entriesjohn <hashfile>Crack with default settings
john --wordlist=<wordlist> <hashfile>Dictionary attack
john --format=<format> <hashfile>Specify hash format
john --show <hashfile>Show cracked passwords
john --incremental <hashfile>Brute force mode
unshadow /etc/passwd /etc/shadow > hashes.txtCombine passwd and shadow
Use cases
Password auditingHash crackingSecurity compliancePenetration testingPassword policy testing