mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 01:50:10 +00:00
applied requested final changes
This commit is contained in:
parent
7321b03102
commit
17083b8f56
@ -93,10 +93,11 @@ __kernel void m19500_mxx (KERN_ATTR_ESALT (devise_hash_t))
|
||||
|
||||
sha1_init (&ctx0);
|
||||
|
||||
sha1_update (&ctx0, k, site_key_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, s, salt_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, k, site_key_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, s, salt_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update_global_swap (&ctx0, pws[gid].i, pws[gid].pw_len);
|
||||
|
||||
/**
|
||||
* loop
|
||||
@ -106,7 +107,6 @@ __kernel void m19500_mxx (KERN_ATTR_ESALT (devise_hash_t))
|
||||
{
|
||||
sha1_ctx_t ctx = ctx0;
|
||||
|
||||
sha1_update_global_swap (&ctx, pws[gid].i, pws[gid].pw_len);
|
||||
sha1_update_global_swap (&ctx, combs_buf[il_pos].i, combs_buf[il_pos].pw_len);
|
||||
sha1_update (&ctx, glue, 2);
|
||||
sha1_update (&ctx, k, site_key_len);
|
||||
@ -236,10 +236,11 @@ __kernel void m19500_sxx (KERN_ATTR_ESALT (devise_hash_t))
|
||||
|
||||
sha1_init (&ctx0);
|
||||
|
||||
sha1_update (&ctx0, k, site_key_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, s, salt_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, k, site_key_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update (&ctx0, s, salt_len);
|
||||
sha1_update (&ctx0, glue, 2);
|
||||
sha1_update_global_swap (&ctx0, pws[gid].i, pws[gid].pw_len);
|
||||
|
||||
/**
|
||||
* loop
|
||||
@ -249,7 +250,6 @@ __kernel void m19500_sxx (KERN_ATTR_ESALT (devise_hash_t))
|
||||
{
|
||||
sha1_ctx_t ctx = ctx0;
|
||||
|
||||
sha1_update_global_swap (&ctx, pws[gid].i, pws[gid].pw_len);
|
||||
sha1_update_global_swap (&ctx, combs_buf[il_pos].i, combs_buf[il_pos].pw_len);
|
||||
sha1_update (&ctx, glue, 2);
|
||||
sha1_update (&ctx, k, site_key_len);
|
||||
|
@ -132,7 +132,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
||||
salt->salt_buf[0] = devise_double_salt->salt_buf[0];
|
||||
salt->salt_buf[1] = devise_double_salt->salt_buf[1];
|
||||
|
||||
salt->salt_len = devise_double_salt->salt_len;
|
||||
salt->salt_len = 8;
|
||||
|
||||
return (PARSER_OK);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user