Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

22
zip2john Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zip2john
> A tool to extract password hashes from `zip` archives 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}}`