返回顶部

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 

 

posted @ 2022-07-21 13:57  九尾cat  阅读(1229)  评论(0编辑  收藏  举报