Skip to content

Commit 0adc82d

Browse files
docs: add example of 2john tools with Docker (#761)
It is possible to run some 2john tools directly from the Docker image. The Docker image does not have Python or Lua installed, so it is not possible to run scripts using this approach. Signed-off-by: Claudio André <[email protected]>
1 parent 2fa5bed commit 0adc82d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/examples-docker.md

+15
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,21 @@ Using the `--rm` flag to clean up the container and remove the file system after
5757
-rw------- 1 claudio users 246 jun 20 08:59 john.rec
5858
```
5959

60+
## Execute compiled 2john tools
61+
62+
It is possible to run some 2john tools directly from the Docker image. Example:
63+
64+
```bash
65+
# If necessary, update the local Docker image
66+
docker pull ghcr.io/openwall/john:bleeding
67+
68+
# To extract the relevant information from (e.g.) a zip file
69+
docker run -v $(pwd):/host --rm -w /host --entrypoint /john/run/zip2john ghcr.io/openwall/john:bleeding /host/file.zip
70+
71+
# Or
72+
docker run -v $(pwd):/host --rm -w /host --entrypoint /john/run/zip2john ghcr.io/openwall/john:bleeding /host/file.zip > zip.hash
73+
```
74+
6075
## Compare the performance of SIMD extensions
6176

6277
```bash

0 commit comments

Comments
 (0)