mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-03 12:21:07 +00:00
Fixed autodetect memory allocation for temporary hashes for LUKS v1 (legacy) in --identify mode
This commit is contained in:
parent
5aaf8e2c42
commit
7b36d7ebf8
@ -47,6 +47,7 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
- Fixed accepted salt length by PKCS#8 Private Keys modules
|
- Fixed accepted salt length by PKCS#8 Private Keys modules
|
||||||
|
- Fixed autodetect memory allocation for temporary hashes for LUKS v1 (legacy) in --identify mode
|
||||||
- Fixed backend active devices checks
|
- Fixed backend active devices checks
|
||||||
- Fixed building error on Raspberry Pi
|
- Fixed building error on Raspberry Pi
|
||||||
- Fixed display problem of incorrect negative values in case of large numbers
|
- Fixed display problem of incorrect negative values in case of large numbers
|
||||||
@ -68,9 +69,9 @@
|
|||||||
- Fixed password limit in optimized kernel for hash-mode 10700
|
- Fixed password limit in optimized kernel for hash-mode 10700
|
||||||
- Fixed password reassembling function reporting an incorrect candidate in some cases when the correct candidate has zero length
|
- Fixed password reassembling function reporting an incorrect candidate in some cases when the correct candidate has zero length
|
||||||
- Fixed undefined function call to hc_byte_perm_S() in hash-mode 17010 on non-CUDA compute devices
|
- Fixed undefined function call to hc_byte_perm_S() in hash-mode 17010 on non-CUDA compute devices
|
||||||
- Fixed Unit Test early exit on luks test file download/extract failure
|
- Fixed unit test early exit on luks test file download/extract failure
|
||||||
- Fixed Unit Test false negative if there are spaces in the filesystem path to hashcat
|
- Fixed unit test false negative if there are spaces in the filesystem path to hashcat
|
||||||
- Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23
|
- Fixed unit test salt-max in case of optimized kernel, with hash-type 22 and 23
|
||||||
- Fixed usage of --rule-right (-k) in -a 7 with optimized (-O) kernels
|
- Fixed usage of --rule-right (-k) in -a 7 with optimized (-O) kernels
|
||||||
- Fixed wordlist handling in -m 3000 when candidate passwords use the $HEX[...] syntax
|
- Fixed wordlist handling in -m 3000 when candidate passwords use the $HEX[...] syntax
|
||||||
|
|
||||||
|
@ -1391,12 +1391,18 @@ bool autodetect_hashmode_test (hashcat_ctx_t *hashcat_ctx)
|
|||||||
hash_info->orighash = (char *) hcmalloc (256);
|
hash_info->orighash = (char *) hcmalloc (256);
|
||||||
hash_info->split = (split_t *) hcmalloc (sizeof (split_t));
|
hash_info->split = (split_t *) hcmalloc (sizeof (split_t));
|
||||||
|
|
||||||
hash_t *hashes_buf = (hash_t *) hcmalloc (sizeof (hash_t));
|
// this is required for multi hash iterations in binary files, for instance used in -m 14600
|
||||||
|
#define HASHES_IN_BINARY 10
|
||||||
|
|
||||||
hashes_buf->digest = digest;
|
hash_t *hashes_buf = (hash_t *) hccalloc (HASHES_IN_BINARY, sizeof (hash_t));
|
||||||
hashes_buf->salt = salt;
|
|
||||||
hashes_buf->esalt = esalt;
|
for (int i = 0; i < HASHES_IN_BINARY; i++)
|
||||||
hashes_buf->hook_salt = hook_salt;
|
{
|
||||||
|
hashes_buf[i].digest = digest;
|
||||||
|
hashes_buf[i].salt = salt;
|
||||||
|
hashes_buf[i].esalt = esalt;
|
||||||
|
hashes_buf[i].hook_salt = hook_salt;
|
||||||
|
}
|
||||||
|
|
||||||
hashes->hashes_buf = hashes_buf;
|
hashes->hashes_buf = hashes_buf;
|
||||||
hashes->digests_buf = digest;
|
hashes->digests_buf = digest;
|
||||||
|
Loading…
Reference in New Issue
Block a user