centos7.2安装john-1.8.0

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


@H_502_2@

系统环境:CentOS Linux release 7.2.1511@H_502_2@

john版本:john-1.8.0@H_502_2@

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


@H_502_2@

安装:@H_502_2@

wgethttp://www.openwall.com/john/j/john-1.8.0.tar.gz
tar-xfjohn-1.8.0.tar.gz
cdjohn-1.8.0/src/

编译:@H_502_2@

yum-yinstallgccgcc-c++make
make
makelinux-x86-64

安装完成:@H_502_2@

lsjohn-1.8.0/run/


@H_502_2@


@H_502_2@

简单使用:@H_502_2@

useraddzhangsan
echo123456|passwd--stdinzhangsan
cp/etc/passwd/etc/shadow.
./unshadowpasswdshadow>mypasswd
./johnmypasswd


@H_502_2@

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


@H_502_2@

Loaded 2 password hashes with 2 different salts (crypt,generic crypt(3) [?/64])@H_502_2@

Press 'q' or Ctrl-C to abort,almost any other key for status@H_502_2@

123456 (zhangsan)@H_502_2@

猜你在找的CentOS相关文章