1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 09:55:42 +02:00

zip2john: add page (#9046)

This commit is contained in:
ajrequenez 2022-10-16 10:55:19 -05:00 committed by GitHub
parent 5a7d381f87
commit ac3a24e1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
pages/common/zip2john.md Normal file
View file

@ -0,0 +1,17 @@
# zip2john
> A tool to extract password hashes from zip files for use with John the Ripper password cracker.
> This is a utility tool usually installed as part of the John the Ripper installation.
> More information: <https://www.openwall.com/john/>.
- Extract the password hash from an archive, listing all files in the archive:
`zip2john {{path/to/file.zip}}`
- Extract the password hash using [o]nly a specific compressed file:
`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}}`
- Extract the password hash from a compressed file to a specific file (for use with John the Ripper):
`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}} > {{file.hash}}`