Centos7.2 install john-1.8.0
System environment: CentOS Linux release 7.2.1511
John version: john-1.8.0
Official website: http://www.openwall.com/john/
Installation:
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/
Compile:
Yum-y install gcc gcc-c++ makemakemake linux-x86-64
Installation completed:
Ls john-1.8.0/run/
Easy to use:
Useradd zhangsanecho 123456 | passwd-- stdin zhangsancp / etc/passwd / etc/shadow.. / unshadow passwd shadow > mypasswd./john mypasswd
. / john mypasswd output, you can see that the password of zhangsan has been cracked
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 (zhangsan)