kali破解office密码
本帖最后由 libo 于 2018-6-28 11:01 编辑首先要下载 office2john.py,支持破解的加密为office自带的加密功能,即:
使用office2john将office转换为hash:
python office2john.py 123.docx > hash.txt
使用以下命令进行切割,转换成hashcat支持的形式:
awk -F ":" '{print $2}' hash.txt > hashhc.txt
使用hashcat进行破解:
hashcat -m 9500 hashhc.txt ~/wordlist/passwd.txt -o out.txt
这里我使用了office2010,所以选择9500,要根据对应版本来选择
选择版本可以使用 hashcat --help 来查看
破解成功如下:
附件下载:
楼主,遇到一个令我很头疼的问题:
root@kali:~/tes# hashcat -m 9400 hashhc.txt ~/1/pass.txt -o out.txt --force
hashcat (v4.1.0) starting...
Segmentation fault
.........求大佬帮助 ~/wordlist/passwd.txt这个是需要字典的吗? 凤凰 发表于 2018-6-29 18:45
~/wordlist/passwd.txt这个是需要字典的吗?
是的,这个是字典的位置,如:你在字典是在root目录下11.txt则文件位置为/root/11.txt 感谢分享!{:9024:}
页:
[1]