小吉 发表于 2022-10-10 08:00:00

hashcat暴力破解自己忘了密码的zip,rar, pdf等文件

有时候可能会忘了自己的文件密码,那就可能需要暴力破解了既然暴力破解,那就最好是能利用GPU的算力的工具HashCat系列软件在硬件上支持使用CPU、NVIDIA GPU、ATI GPU来进行密码破解。在操作系统上支持Windows、Linux平台,并且需要安装官方指定版本的显卡驱动程序,如果驱动程序版本不对,可能导致程序无法运行。HashCat主要分为三个版本:Hashcat、oclHashcat-plus、oclHashcat-lite。这三个版本的主要区别是:HashCat只支持CPU破解。oclHashcat-plus支持使用GPU破解多个HASH,并且支持的算法高达77种。oclHashcat-lite只支持使用GPU对单个HASH进行破解,支持的HASH种类仅有32种,但是对算法进行了优化,可以达到GPU破解的最高速度。如果只有单个密文进行破解的话,推荐使用oclHashCat-lite。几乎支持所有加密算法公开的格式。当然,既然是暴力破解,速度就不快。工具:hashcat:底部提供Windows版https://github.com/hashcat/hashcatJohn the Ripper:底部提供Windows版https://github.com/openwall/john过程:用John the Ripper中的工具获取hash,然后用hashcat破解。以zip文件为例:用john软件获取hash (其它类型文件需要找对应的,比如rar就应该用rar2john.exe),
命令行界面类似于<font size="5" color="#2e8b57"><b>john-1.9.0-jumbo-1-win64\run>zip2john.exe C:\Users\用户名\Downloads\xmpan.zip</b></font>得到的类似于<font size="5" color="#2e8b57"><b>ver 2.0 xmpan.zip/p.jpg PKZIP Encr: cmplen=32479781, decmplen=33117655, crc=75D6287
ver 2.0 xmpan.zip/password.txt PKZIP Encr: cmplen=20, decmplen=8, crc=50FE386B
mjj.zip:$pkzip2$2*1*1*0*8*24*075d*0583*e66dc60ce74f030d6f2d728f935371a65ed330e47733e8d8f5502d4e6e249956d0f8222d*2*0*14*8*50fe386b*1ef9a48*2a*0*14*50fe*029c*96c9ccc46ba49b9b924a36e7036567cb460303e0*$/pkzip2$::333.zip:password.txt, p.jpg:C:\Users...</b></font>其中的<font size="5" color="#2e8b57"><b>$pkzip2$2*1*1*0*8*24*075d*0583*e66dc60ce74f030d6f2d728f935371a65ed330e47733e8d8f5502d4e6e249956d0f8222d*2*0*14*8*50fe386b*1ef9a48*2a*0*14*50fe*029c*96c9ccc46ba49b9b924a36e7036567cb460303e0*$/pkzip2$</b></font>就是我们要的hash然后用hashcat软件命令行界面类似于<font size="5" color="#2e8b57"><b>D:\Program Files\hashcat-6.2.4>hashcat.exe -a 3 -m 17225 $pkzip2$2*1*1*0*8*24*075d*0583*e66dc60ce74f030d6f2d728f935371a65ed330e47733e8d8f5502d4e6e249956d0f8222d*2*0*14*8*50fe386b*1ef9a48*2a*0*14*50fe*029c*96c9ccc46ba49b9b924a36e7036567cb460303e0*$/pkzip2$ --increment --increment-max=9</b></font>其中 -a 3 代表指定破解模式为穷举模式,-m 指定文件类型为17225 因为这里是 $pkzip2$, --increment 代表自动增加位数 --increment-max=9 代表最大到9位 。具体参数可以根据需要,还有掩码等等的设置信息, 从 下面找,https://hashcat.net/wiki/doku.php?id=hashcathttps://hashcat.net/wiki/doku.php?id=mask_attack等着执行就可以,最后得到类似于<font size="5" color="#2e8b57"><b>$pkzip2$2*1*1*0*8*24*075d*0583*e66dc60ce74f030d6f2d728f935371a65ed330e47733e8d8f5502d4e6e249956d0f8222d*2*0*14*8*50fe386b*1ef9a48*2a*0*14*50fe*029c*96c9ccc46ba49b9b924a36e7036567cb460303e0*$/pkzip2$:699nun9x
Session..........: hashcat
Status...........: Cracked
Hash.Mode........: 17225 (PKZIP (Mixed Multi-File))
Hash.Target......: $pkzip2$2*1*1*0*8*24*075d*0583*e66dc60ce74f030d6f2d...kzip2$
Time.Started.....: Thu Sep 30 10:19:12 2021 (7 mins, 56 secs)
Time.Estimated...: Thu Sep 30 10:27:08 2021 (0 secs)</b></font>其中Status...........: Cracked 代表已找到密码,上面的   699nun9x即为密码https://img.cooluc.com/imgs/2022/10/28e6443074178ce9.png工具下载地址:**** Hidden Message *****回复帖子免费查看下载地址只要注册了所有内容都可以看收集各类收费网站资源免费发放

葬魂人 发表于 2022-10-10 08:16:43

这是个好东西,可惜我不懂

xjkxjk 发表于 2022-10-10 12:14:29

66666666666666

阿坑obd 发表于 2022-10-10 13:11:02

好东西哦

bbs123 发表于 2022-10-10 14:50:45

这是个好东西,可惜我不懂

墨笔绘佳人 发表于 2022-10-10 22:38:25


这是个好东西,可惜我不懂

2673315281 发表于 2022-10-11 09:58:30

666

厉害的皮卡丘 发表于 2022-10-12 00:49:47

grenco99 发表于 2022-10-12 22:46:55

6

a1358349187 发表于 2022-10-13 13:10:04

好东西,66666666666
页: [1] 2 3 4 5 6
查看完整版本: hashcat暴力破解自己忘了密码的zip,rar, pdf等文件