[GH-ISSUE #1296] combining --show and --costs #820

Open
opened 2026-10-14 03:25:21 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @frank-dittrich on GitHub (May 10, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1296

Originally assigned to: @frank-dittrich on GitHub.

Not sure how the combination of --show[=LEFT] and --costs= should be handled, but the current situation is at least confusing.

(bleeding-jumbo)run $ ./john --show hashes.bcrypt             
?:
?:

2 password hashes cracked, 12 left
(bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt 
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.9tQZzcJfm3uj2NvJ/n5xkhpqLrMpWCe
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.R9xrDjiycxMbQE2bp.vgqlYpW5wx2yy
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.swQOIzjOiJ9GHEPuhEkvqrUyvWhEMx6
?:$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq
?:$2x$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e
?:$2x$05$6bNw2HLQYeqHYyBfLMsv/O9LIGgn8OMzuDoHfof8AQimSGfcSWxnS
?:$2x$05$6bNw2HLQYeqHYyBfLMsv/OiwqTymGIGzFsA4hOTWebfehXHNprcAS
?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK
?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW
?:$2b$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a
?:$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a
?:$2a$05$abcdefghijklmnopqrstuu5s2v8.iXieOjg/.AySBTTZIIVFJeBui

1 password hash cracked, 12 left
(bleeding-jumbo)run $ ./john --show hashes.bcrypt --costs=0:0
?:
?:

2 password hashes cracked, 12 left
(bleeding-jumbo)run $ ./john --show hashes.bcrypt --costs=1:1
?:
?:

2 password hashes cracked, 12 left
(bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=0:0

13 password hashes cracked, 0 left
(bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=1:1

13 password hashes cracked, 0 left
(bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=0:99
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.9tQZzcJfm3uj2NvJ/n5xkhpqLrMpWCe
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.R9xrDjiycxMbQE2bp.vgqlYpW5wx2yy
?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.swQOIzjOiJ9GHEPuhEkvqrUyvWhEMx6
?:$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq
?:$2x$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e
?:$2x$05$6bNw2HLQYeqHYyBfLMsv/O9LIGgn8OMzuDoHfof8AQimSGfcSWxnS
?:$2x$05$6bNw2HLQYeqHYyBfLMsv/OiwqTymGIGzFsA4hOTWebfehXHNprcAS
?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK
?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW
?:$2b$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a
?:$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a
?:$2a$05$abcdefghijklmnopqrstuu5s2v8.iXieOjg/.AySBTTZIIVFJeBui

1 password hash cracked, 12 left
Originally created by @frank-dittrich on GitHub (May 10, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1296 Originally assigned to: @frank-dittrich on GitHub. Not sure how the combination of --show[=LEFT] and --costs= should be handled, but the current situation is at least confusing. ``` (bleeding-jumbo)run $ ./john --show hashes.bcrypt ?: ?: 2 password hashes cracked, 12 left (bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.9tQZzcJfm3uj2NvJ/n5xkhpqLrMpWCe ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.R9xrDjiycxMbQE2bp.vgqlYpW5wx2yy ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.swQOIzjOiJ9GHEPuhEkvqrUyvWhEMx6 ?:$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq ?:$2x$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e ?:$2x$05$6bNw2HLQYeqHYyBfLMsv/O9LIGgn8OMzuDoHfof8AQimSGfcSWxnS ?:$2x$05$6bNw2HLQYeqHYyBfLMsv/OiwqTymGIGzFsA4hOTWebfehXHNprcAS ?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK ?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW ?:$2b$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a ?:$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a ?:$2a$05$abcdefghijklmnopqrstuu5s2v8.iXieOjg/.AySBTTZIIVFJeBui 1 password hash cracked, 12 left (bleeding-jumbo)run $ ./john --show hashes.bcrypt --costs=0:0 ?: ?: 2 password hashes cracked, 12 left (bleeding-jumbo)run $ ./john --show hashes.bcrypt --costs=1:1 ?: ?: 2 password hashes cracked, 12 left (bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=0:0 13 password hashes cracked, 0 left (bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=1:1 13 password hashes cracked, 0 left (bleeding-jumbo)run $ ./john --show=LEFT hashes.bcrypt --costs=0:99 ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.9tQZzcJfm3uj2NvJ/n5xkhpqLrMpWCe ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.R9xrDjiycxMbQE2bp.vgqlYpW5wx2yy ?:$2a$05$/OK.fbVrR/bpIqNJ5ianF.swQOIzjOiJ9GHEPuhEkvqrUyvWhEMx6 ?:$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq ?:$2x$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e ?:$2x$05$6bNw2HLQYeqHYyBfLMsv/O9LIGgn8OMzuDoHfof8AQimSGfcSWxnS ?:$2x$05$6bNw2HLQYeqHYyBfLMsv/OiwqTymGIGzFsA4hOTWebfehXHNprcAS ?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK ?:$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW ?:$2b$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a ?:$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a ?:$2a$05$abcdefghijklmnopqrstuu5s2v8.iXieOjg/.AySBTTZIIVFJeBui 1 password hash cracked, 12 left ```
Author
Owner

@magnumripper commented on GitHub (May 11, 2015):

This is two separate issues, one for --show and another for --show=left. They are completely different code paths and the latter is subject for total re-write since it has all sorts of problems.

The --show bug should be easy to fix (that's my gut feeling anyway, I did not look).

<!-- gh-comment-id:101049206 --> @magnumripper commented on GitHub (May 11, 2015): This is two separate issues, one for --show and another for --show=left. They are completely different code paths and the latter is subject for total re-write since it has all sorts of problems. The --show bug should be easy to fix (that's my gut feeling anyway, I did not look).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#820
No description provided.