密码破解工具
2017-10-11 本文已影响0人
_String_
文章参考
http://topspeedsnail.com/John-the-Ripper-learn/
john the Ripper 支持字典破解方式和暴力破解方式。
下面,我以破解Linux用户密码为例进行简单说明。
破解Linux用户密码需要使用到两个文件(包含用户的信息和密码hash值):
/etc/passwd
/etc/shadow
可以使用unshadow命令组合/etc/passwd和/etc/shadow
unshadow /etc/passwd /etc/shadow > test_passwd

使用john the Ripper破解Linux用户密码
在破解时需要自行寻找密码字典,kali系统自带部分字典如/usr/share/john/password.lst破解方式如下:
sudo john --wordlist=/usr/share/john/password.lst test_passwd

