# ./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
我上面用的是office2020,可以根据office版本自行确定哈希值类型
最后面就是破解的密码。