John the Ripper — Cracker des hashes
★★★★★
Utilisation
# Identifier le format automatiquement
john hash.txt
# Spécifier le format
john --format=NT hash.txt
john --format=bcrypt hash.txt
john --format=sha512crypt hash.txt
# Avec wordlist
john --wordlist=rockyou.txt hash.txt
john --wordlist=rockyou.txt --rules hash.txt
# Voir les résultats
john --show hash.txt Formats spéciaux
# Extraire le hash d un fichier protégé
zip2john archive.zip > zip_hash.txt
rar2john archive.rar > rar_hash.txt
pdf2john document.pdf > pdf_hash.txt
ssh2john id_rsa > ssh_hash.txt
keepass2john database.kdbx > keepass_hash.txt
# Puis cracker normalement
john --wordlist=rockyou.txt zip_hash.txt