Files
tldr/pages.zh/common/zip2john.md

17 lines
631 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# zip2john
> 从Zip档案中提取密码哈希以供John the Ripper密码破解工具使用。
> 这是一个实用工具通常作为John the Ripper安装的一部分进行安装。
> 更多信息:<https://www.openwall.com/john/>。
- 从档案中提取密码哈希,并列出档案中的所有文件:
`zip2john {{path/to/file.zip}}`
- 仅使用特定的压缩文件提取密码哈希:
`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}}`
- 从压缩文件提取密码哈希到特定文件供John the Ripper使用
`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}} > {{file.hash}}`