2020-04-06 21:01:31 +01:00
|
|
|
# john
|
|
|
|
|
|
|
|
> Password cracker.
|
|
|
|
> More information: <https://www.openwall.com/john/>.
|
|
|
|
|
|
|
|
- Crack password hashes:
|
|
|
|
|
|
|
|
`john {{path/to/hashes.txt}}`
|
|
|
|
|
|
|
|
- Show passwords cracked:
|
|
|
|
|
|
|
|
`john --show {{path/to/hashes.txt}}`
|
|
|
|
|
|
|
|
- Display users' cracked passwords by user identifier from multiple files:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`john --show --users={{user_ids}} {{path/to/hashes1.txt path/to/hashes2.txt ...}}`
|
2020-04-06 21:01:31 +01:00
|
|
|
|
|
|
|
- Crack password hashes, using a custom wordlist:
|
|
|
|
|
|
|
|
`john --wordlist={{path/to/wordlist.txt}} {{path/to/hashes.txt}}`
|
|
|
|
|
|
|
|
- List available hash formats:
|
|
|
|
|
|
|
|
`john --list=formats`
|
|
|
|
|
|
|
|
- Crack password hashes, using a specific hash format:
|
|
|
|
|
2020-05-10 13:45:11 +01:00
|
|
|
`john --format={{md5crypt}} {{path/to/hashes.txt}}`
|
2020-04-06 21:01:31 +01:00
|
|
|
|
|
|
|
- Crack password hashes, enabling word mangling rules:
|
|
|
|
|
|
|
|
`john --rules {{path/to/hashes.txt}}`
|
|
|
|
|
|
|
|
- Restore an interrupted cracking session from a state file, e.g. `mycrack.rec`:
|
|
|
|
|
2020-05-10 13:45:11 +01:00
|
|
|
`john --restore={{path/to/mycrack.rec}}`
|