1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Automatic append of salts to SALT_TYPE_GENERIC hashes is comfortable but counter-intuitive, everything that gets decoded in the module should be also accessed when encoding it again

This commit is contained in:
jsteube 2019-01-11 22:50:05 +01:00
parent fcfd07ceb2
commit 03f315a4ab

View File

@ -646,22 +646,6 @@ int ascii_digest (const hashconfig_t *hashconfig, const hashes_t *hashes, const
);
return out_len;
/*
if (salt_type == SALT_TYPE_GENERIC)
{
size_t pos = strlen (out_buf);
out_buf[pos] = hashconfig->separator;
char *ptr = (char *) salt.salt_buf;
memcpy (out_buf + pos + 1, ptr, salt.salt_len);
out_buf[pos + 1 + salt.salt_len] = 0;
}
*/
}
static bool module_load (hashcat_ctx_t *hashcat_ctx, module_ctx_t *module_ctx, const u32 hash_mode)