John the Ripper
Basics
john --format=raw-md5 --wordlist=wordlist.txt hash.txtjohn --list=formats
john --list=formats | grep -i sha
john --list=formats | grep -i md5Filter the Word Length of Wordlists
# Up to 5 characters (-max-len:5)
john --wordlist=/usr/share/wordlists/rockyou.txt -max-len:5 hash.txt
# 4 characters only (-min-len:4 -max-len:4)
john --wordlist=/usr/share/wordlists/rockyou.txt -min-len:4 -max-len:4 hash.txtGenerate Custom Wordlist from Original One
Command Options
# Min length: 12
# Max length: 14
john --wordlist=./words.txt --min-len:12 --max-len:14 --stdout > new_words.txt
# Make uppercase to lowercase
cat new_words.txt | tr [:upper:] [:lower:] > new_words_lowercase.txt
# Make lowercase to uppercase
cat new_words.txt | tr [:lower:] [:upper:] > new_words_uppercase.txtCustom Rules
Remove Cache (Crack Again)
Last updated