[GH-ISSUE #720] RAR5 format currently use a fixed iterations count #365

Closed
opened 2026-10-14 03:03:07 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @magnumripper on GitHub (Aug 20, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/720

Originally assigned to: @kholia on GitHub.

static void *get_salt(char *ciphertext)
{
...
    cs.iterations = 1 << 15;

This is very bad. rar5tojohn must store the actual iterations count and we must honor it. Some comments in valid() and get_salt() indicate it's stored in the "hash" but I believe it isn't. Only (redundant) hash lengths are. Right?

Originally created by @magnumripper on GitHub (Aug 20, 2014). Original GitHub issue: https://github.com/openwall/john/issues/720 Originally assigned to: @kholia on GitHub. ``` static void *get_salt(char *ciphertext) { ... cs.iterations = 1 << 15; ``` This is very bad. rar5tojohn must store the actual iterations count and we must honor it. Some comments in valid() and get_salt() indicate it's stored in the "hash" but I believe it isn't. Only (redundant) hash lengths are. Right?
bsakaguchi 2026-10-14 03:03:07 +07:00
  • closed this issue
  • added the
    bug
    label
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#365
No description provided.