Hello! If you are new to password cracking and want to know how to use John the Ripper, this is the tutorial for you!
–THIS TUTORIAL IS FOR LINUX. IT IS A PART OF A SERIES I’M DOING–
First, if you have not install John yet, open your terminal and according to your distro, type the corresponding command.
Install:
Debian
# aptitude install john
Fedora
# yum install john
Arch
# pacman -S john
OpenSuse
# zypper install john
Gentoo
# emerge johntheripper
Ubuntu
# sudo apt-get install john
To test if John works, type
$ /usr/sbin/john --test
–Cracking–
Make a file somewhere and put a hash in there.
Ex
7d9a0d11cb36e12a68817aff945390de
Next, cd to to the file location in the console.
$ cd Desktop
Take your dictionary and put it in the same file location.
Now for the fun!
What we are doing here is setting John to use a wordlist(dictionary) and telling it to crack the .txt file you made(I named mine “password.txt”.
/user/Desktop$ /usr/sbin/john --wordlist=list.txt --rules password.txt
Then it will start cracking your hash!
After it finishes cracking it will display your password that you cracked, mine was universe.
NOTE: This was a simplified tutorial on how to use John on MD5 hashes. Of course it works on other encryptions like SDA1 and such. If you guys want me to add an advanced side to this tutorial please comment on it and I would be happy to post it.
My recommendations when you crack a password: I would add that password onto the list to collect more and more hashes onto there so it will instantly crack it for you :) Good luck!
As always,
Sail Safe.