April 11, 2013

Updating John The Ripper on Kali Linux

This morning, I was surprise a little bit with my John The Ripper version.

Command :
root@kali:~# john | grep version | awk {'print $7'}

But I saw on John The Ripper Official Site it should be 1.7.9-jumbo-7. So I decide to update it from source. You can follow my steps to update your John The Ripper.

1. Download JTR Source

Command :
root@kali:~/Downloads# wget

2. Extract JTR Source with gunzip

Command :
root@kali:~/Downloads# gunzip john-1.7.9-jumbo-7.tar.gz

3. Extract Source AGAIN! =T

Command :
root@kali:~/Downloads# tar -xvf john-1.7.9-jumbo-7.tar

4. Move to JTR Source

Command :
root@kali:~/Downloads# cd john-1.7.9-jumbo-7/

5. Move to scr directory

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7# cd scr/

6. Install libssl-dev libcrypto++-dev first before compile this source, which these packages didn't installed on Kali Linux by default.

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7/src# apt-get install libssl-dev libcrypto++-dev

7. Compile source

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7/src# make clean generic

Compiling will take several minutes, since JTR will benchmark your hard ware. So be patient!

8. Move to root source directory, rename run directory, then move it to /usr/share directory

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7/src# cd ..root@kali:~/Downloads/john-1.7.9-jumbo-7# mv run jtrroot@kali:~/Downloads/john-1.7.9-jumbo-7# mv jtr/ /usr/share

9. Create symbolic link for jtr

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7/srcln -s /usr/share/jtr/john /usr/local/bin/jtr

10. Check your jtr version

Command :
root@kali:~/Downloads/john-1.7.9-jumbo-7/srcjtr | grep ver: | awk {'print $7'}

Then you are done!
Back to top!