centos6.5安装john-1.8.0

前端之家收集整理的这篇文章主要介绍了centos6.5安装john-1.8.0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_502_0@centos6.5安装john-1.8.0

系统环境:CentOS release 6.5


john版本:john-1.8.0


官方网站:http://www.openwall.com/john/




安装:

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/



使用:


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




输出结果,可以看到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

原文链接:https://www.f2er.com/centos/376183.html

猜你在找的CentOS相关文章