Skip to content

Commit

Permalink
docs(README): make usage easier to understand
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-awd committed Oct 24, 2023
1 parent d9499df commit 1fb12e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ pip install -r requirements.txt
## Usage
Run pdf2john.py with a PDF of choice
```bash
python3 pdf2john.py tests/pdf/pypdf/r6-user-password.pdf
python3 pdf2john.py example.pdf
```

To pass the hash to john:
```bash
python3 pdf2john.py tests/pdf/pypdf/r6-empty-password.pdf >> .hash
john --format=PDF tests/pdf/pypdf/r6-empty-password.pdf .hash
./pdf2john.py example.pdf >> .hash
john .hash
john --show --format=PDF .hash
```

Expand Down
Binary file added example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pdf2john"
version = "0.1.4"
version = "0.1.5"
description = ""
authors = ["Benjamin Dornel <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 1fb12e1

Please sign in to comment.