0


Kali之zip压缩包密码爆破

背景:

1、已知格式为ZIP

2、已知密码为4位,前3位是数字,最后一位可能是数字可能是大写字母

步骤:

1、获得文件hash值

使用zip2john

2、爆破

1.使用john爆破密码

2.使用hashcat爆破密码

hashcat -a 3 -m 17200 /root/passwd.txt --increment ?d?d?d?u -o output.txt

解释:

-a的选择

-m的选择

-m的代码意味着哈希类型的选择,具体参考以下网址

example_hashes [hashcat wiki] https://hashcat.net/wiki/doku.php?id=example_hashes

/root/passwd.txt

存放hash值,保留第一个$和最后一个$,例如($.....$)

--increment

自定义密码模式,例如1994,即为:--increment ?d?d?d?d

-o output.txt

输出破解内容到txt

标签: 安全

本文转载自: https://blog.csdn.net/chenwenjunC/article/details/128115982
版权归原作者 chenwenjunC 所有, 如有侵权,请联系我们删除。

“Kali之zip压缩包密码爆破”的评论:

还没有评论