HOWTO : John the Ripper on Ubuntu Desktop 12.04 LTS

John the Ripper is a fast password cracker, currently available for many flavors of Unix, Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. Besides several crypt(3) password hash types most commonly found on various Unix systems, supported out of the box are Windows LM hashes, plus lots of other hashes and ciphers in the community-enhanced version.



Step 1 :



sudo -sH

cd /opt

wget http://www.openwall.com/john/g/john-1.7.9-jumbo-7.tar.gz

tar -xvzf john-1.7.9-jumbo-7.tar.gz

mv john-1.7.9-jumbo-7 john

rm john-1.7.9-jumbo-7.tar.gz




Step 2 :



cd /opt/john/src



For 64-bit system :

# for general -

make clean linux-x86-64

# for cuda -

make clean linux-x86-64-cuda

# for opencl -

make clean linux-x86-64-opencl



For 32-bit system :

# for general -

make clean linux-x86-sse2

# for cuda -

make clean linux-x86-cuda

# for opencl -

make clean linux-x86-opencl



Step 3 :



To run it.



sudo -sH

cd /opt/john/run

./john




That's all! See you.