系统环境:CentOS Linux release 7.2.1511
john版本:john-1.8.0
官方网站:http://www.openwall.com/john/
安装:
wgethttp://www.openwall.com/john/j/john-1.8.0.tar.gz tar-xfjohn-1.8.0.tar.gz cdjohn-1.8.0/src/
编译:
yum-yinstallgccgcc-c++make make makelinux-x86-64
安装完成:
lsjohn-1.8.0/run/
简单使用:
useraddzhangsan echo123456|passwd--stdinzhangsan cp/etc/passwd/etc/shadow. ./unshadowpasswdshadow>mypasswd ./johnmypasswd
./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)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。