首页 > 其他 > 详细

centos7.2安装john-1.8.0

时间:2016-06-02 20:10:06      阅读:1311      评论:0      收藏:0      [点我收藏+]


系统环境:CentOS Linux release 7.2.1511

john版本:john-1.8.0

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


安装:

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 zhangsan

echo 123456 | passwd --stdin zhangsan

cp /etc/passwd /etc/shadow .

./unshadow passwd shadow > mypasswd

./john mypasswd


./john mypasswd 的输出结果,可以看到zhangsan的密码已经被破解


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)



本文出自 “RSLinux” 博客,请务必保留此出处http://readshlinux.blog.51cto.com/9322509/1785585

centos7.2安装john-1.8.0

原文:http://readshlinux.blog.51cto.com/9322509/1785585

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!