# show all formatsjohn--list=formats# prepare passwd and shadow file for crackingunshadowpasswdshadow>crackme# specifying user listjohn-incremental-users:userlist.txtcrackme# to display passwords that are crackedjohn--showcrackmecat/root/.john/john.pot
Dictionary attack
# default wordlistjohn-wordlist-users=victim,victim2crackme# provide a wordlistjohn-wordlist=rockyou.txtcrackme# dictionary mangling using rulesjohn-wordlist=rockyou.txt-rulescrackme
Creating wordlists
Add 2 numbers to wordlists
john --wordlist=/mnt/hgfs/exploit/wordlist.txt --rules --stdout > wordlist_add_numbers.txt