mirror of
https://github.com/hashcat/hashcat.git
synced 2025-03-28 13:25:41 +00:00
Fixed pure kernel on attack mode 0 for hash 3730
Concatenated $salt1 instead of $salt2 to $pass, rendering single hashes uncrackable.
This commit is contained in:
parent
9944e964d6
commit
b5420b40bd
@ -97,6 +97,7 @@ KERNEL_FQ void m03730_mxx (KERN_ATTR_RULES_ESALT (md5_double_salt_t))
|
||||
md5_init (&ctx0);
|
||||
|
||||
md5_update_global (&ctx0, esalt_bufs[DIGESTS_OFFSET_HOST].salt2_buf, esalt_bufs[DIGESTS_OFFSET_HOST].salt2_len);
|
||||
|
||||
/**
|
||||
* loop
|
||||
*/
|
||||
@ -235,7 +236,7 @@ KERNEL_FQ void m03730_sxx (KERN_ATTR_RULES_ESALT (md5_double_salt_t))
|
||||
|
||||
md5_init (&ctx0);
|
||||
|
||||
md5_update_global (&ctx0, esalt_bufs[DIGESTS_OFFSET_HOST].salt1_buf, esalt_bufs[DIGESTS_OFFSET_HOST].salt1_len);
|
||||
md5_update_global (&ctx0, esalt_bufs[DIGESTS_OFFSET_HOST].salt2_buf, esalt_bufs[DIGESTS_OFFSET_HOST].salt2_len);
|
||||
|
||||
/**
|
||||
* loop
|
||||
|
Loading…
Reference in New Issue
Block a user