Difference between revisions of "John"

From Notes_Wiki
(Created page with "=john= john is advanced password cracking tool which can be used to crack both Windows and Linux passwords. For learning use of john to crack windows passwords visit [[bkhive...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=john=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Penetration testing tools]] > [[John]]


john is advanced password cracking tool which can be used to crack both Windows and Linux passwords. For learning use of john to crack windows passwords visit [[bkhive, samdump2, john]] and to learn use of john to crack Linux passwords visit [[unshadow, john]].  
john is advanced password cracking tool which can be used to crack both Windows and Linux passwords. For learning use of john to crack windows passwords visit [[bkhive, samdump2, john]] and to learn use of john to crack Linux passwords visit [[unshadow, john]]. Installation of john is explained at [[Installing john from source]].




On some Cent-OS distributions default installation of john using yum may give following error:
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Penetration testing tools]] > [[John]]
<pre>
fopen: $JOHN/dumb16.conf: No such file or directory
</pre>
which can be resolved by installing john from source. Latest john source can be obtained from http://www.openwall.com/john/
 
 
To install john from source use following steps:
#extract john source code
#Go to folder '<tt>src</tt>'.
#Compile john using makefile. For compiling john for x86-64 linux distributions one can use command:
#:<pre>
#::make linux-x86-64
#:</pre>
#:For other distributions use simple '<tt>make</tt>' command without any argument to see full list of supported distributions.
#Use '<tt>which john</tt>' to find out location of existing john binary
#If john binary installed via yum is located with help of '<tt>which john</tt>' then replace that file with compiled john from <tt>run</tt> folder of extracted john source tree. If not copy '<tt>run/john</tt>' binary to '<tt>/usr/bin</tt>' folder.
# '''IMP-''' Copy john.conf file from '<tt>run</tt>' folder to '<tt>/etc</tt>' and also to folder where john executable is copied. This file must be present in working directory when using john. Hence to use john from '<tt>/root</tt>', one would have to copy '<tt>john.conf</tt>' from one of these locations to '<tt>/root</tt>' before one can use john there. Error shown in absence of '<tt>john.conf</tt>' file in current folder is:
#:<pre>
#::fopen: john.ini: No such file or directory
#:</pre>

Latest revision as of 15:13, 24 August 2022

Home > CentOS > CentOS 6.x > Penetration testing tools > John

john is advanced password cracking tool which can be used to crack both Windows and Linux passwords. For learning use of john to crack windows passwords visit bkhive, samdump2, john and to learn use of john to crack Linux passwords visit unshadow, john. Installation of john is explained at Installing john from source.


Home > CentOS > CentOS 6.x > Penetration testing tools > John