Dynamic "compiler" format (a.k.a. "ad-hoc dynamic") requires --format option
Open
@jfoug is already working on this.
Since Jan 24, 2018.
enhancement
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
The dynamic compiler format should be recognized without a --format option when given a format tag.
Example:
$ echo > test.in '@dynamic=md5($p.$u)@16ccb184ee1f16dd9af509135f504442$$Ujumbo'
$ ../run/john test.in
Using default input encoding: UTF-8
No password hashes loaded (see FAQ)
$ ../run/john test.in -form:'dynamic=md5($p.$u)'
Loaded 1 password hash (dynamic=md5($p.$u) [256/256 AVX2 8x3])
Press 'q' or Ctrl-C to abort, almost any other key for status
magnum (?)
1g 0:00:00:00 DONE 2/3 (2018-01-24 11:43) 2.631g/s 8842p/s 8842c/s 8842C/s 123456..Geronimo
Use the "--show" option to display all of the cracked passwords reliably
Session completed
This behavior/requirement is documented, but if possible we should enhance it.
One effect of this problem is that external tools can't get any info using --show=types[-json]
$ ../run/john test.in --show=types
?:@dynamic=md5($p.$u)@16ccb184ee1f16dd9af509135f504442$$Ujumbo:::/:/:/:0:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.