Centos6.5 install john-1.8.0
Centos6.5 install john-1.8.0
System environment: CentOS release 6.5
John version: john-1.8.0
Official website: http://www.openwall.com/john/
Installation:
Cd / usr/local/src
Wget http://www.openwall.com/john/j/john-1.8.0.tar.gz
Tar-xf john-1.8.0.tar.gz
Cd john-1.8.0/src/
Yum-y install gcc gcc-c++ make
Make
Make linux-x86-64
Ls john-1.8.0/run/
Use:
Useradd bristol
Echo 123456 | passwd-- stdin bristol
Cp / etc/passwd / etc/shadow.
/ usr/local/src/john-1.8.0/run/unshadow passwd shadow > mypasswd
/ usr/local/src/john-1.8.0/run/john mypasswd
Output the result, you can see the password of bristol.
Loaded 2 password hashes with 2 different salts (crypt, generic crypt (3) [? / 64])
Press'q' or Ctrl-C to abort, almost any other key for status
123456 bristol