shadow破解【John the Ripper密码破解者 】
shadow破解【John the Ripper密码破解者 】
此篇文章是针对弱密码进行,排查处理。思路是对/etc/shadow进行反密码破解,看是否符合密码强调需求。
下载
官网源码下载地址:
wget https://www.openwall.com/john/k/john-1.9.0.tar.gz
编译安装
tar -xvf john-1.9.0.tar.gz cd john-1.9.0/src/ make make clean linux-x86-64
密码破解
cd ../run/ ./unshadow /etc/passwd /etc/shadow passwoed.txt ./john password.txt #查看破解密码 cat john.pot