- 利用office2john.py,导出word的hash值:
# ./office2john.py YD.xls > hash.txt
- 修改hash内容:
# cat hash.txt
# gedit hash.txt
- 破解:(-m 哈希值类型)
# hashcat -m 9600 hash.txt /usr/share/wordlists/hashcat.txt -o passwd.txt --force# cat passwd.txt
最后面就是破解的密码。
# ./office2john.py YD.xls > hash.txt
# cat hash.txt
# gedit hash.txt
# hashcat -m 9600 hash.txt /usr/share/wordlists/hashcat.txt -o passwd.txt --force# cat passwd.txt
最后面就是破解的密码。