Thursday, August 4, 2011

How to Install John The Ripper On Ubuntu Linux? -Works for All Linux


This article will guide you how to install John The Ripper Tool(Password Cracker) in your ubuntu or Any other Linux and Unix Based System.


Requirements:
1. John The Ripper: Download the Latest and Free Version from here:

http://www.openwall.com/john/
 It will be in tar.gz format, namely john-1.7.7.tar.gz 



2. GCC:  GCC should be installed in your system. GCC is C and C++ Compiler.  Download and Install GCC

Why you need to install GCC?
John The Ripper comes as Source file. We have to compile and so that we can make the John The Ripper as executable.  GCC only going to help us to compile the John The Ripper files.

 Ok, Let us start installation.

John The Ripper Installation:
Step 1:
After Downloaded the john-1.7.7.tar.gz file, copy the file in Desktop.


Step 2:Extracting Tar.gz
Now Open the Terminal (Applications->Accessories->Terminal)
Enter this command in Terminal (to navigate to Desktop dir)
cd Desktop
Now Enter this command (to Extract the tar.gz file).
tar -xzf john-1.7.7.tar.gz
 Now john-1.7.7.tar.gz is extracted to john-1.7.7 folder. 
Alternate Extraction Method: Simply right click on the tar.gz file and select Extract here

Step 3: Compiling the Source File
Now Enter this command in Terminal(to navigate to john-1.7.7 directory)
cd john*
Then enter this command in Terminal (to navigate to src folder)
cd src
Then enter this command :
make
Now you can see list of Operating System.

Find the operating System option that match with your Operating System.
Then enter the following command:
make clean Operating_System_option
For Example:
make clean Linux-x86-64
If you don't know or can't find your operating system in list, then simply try  this instead:
make clean generic

It will start to compile the source file.  Wait for a while. It will take few minutes to complete the compilation (depending on your system speed, it will take time).

Step 4:End of Compilation and Installation
After compilation completed, john(executable) file will be created in john-1.7.7/run/ folder

Step 5: Let us Test
Okay let us test whether John the ripper is working or not. 
You are still in Terminal , right?
Enter the following command:
cd -
This will bring you to the previous directory(i mean john-1.7.7/src to john-1.7.7/ folder).
Now enter the Following command (to navigate to john-1.7.7/run/ folder):
cd run
Let us run the John The Ripper from here.
Enter the Following command:
./john --test

It will start to process.  It will take time depending on the speed of your system.  If you want to terminate process , then press CTRL+C.

From now The "run" folder is enough to run the Application. copy the "run" folder to your desired location. My suggestion is to keep it in Desktop itself(easy to navigate and run).

Share This Article on Twitter/Facebook/Blog/Forum or Anywhere:


New Post Older Post Home
 

© Break The Security. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com