1. Extract the hash value of the encrypted compressed package
zip2john 文件名 > hash.txt
zip2john 文件名
Can extract the hash value of the file
and then we write it into a document through redirection
Second, use tools to crack the extracted hash value
john hash.txt
Then you can get the password of the compressed package
(If you want to try it on a virtual machine:
first create two documents on the desktop,
the command for kali to compress the packaged file is zip -P 密码 文件名 要压缩的文件
)