1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00

Merge pull request #1145 from 0xbsec/1144-i-cpu

fix rule 'i' in host mode in case pos = length
This commit is contained in:
Jens Steube 2017-03-01 21:09:32 +01:00 committed by GitHub
commit eecac3f63b
2 changed files with 3 additions and 2 deletions

View File

@ -45,13 +45,14 @@
- Fixed a problem within the Kerberos 5 TGS-REP (-m 13100) hash parser - Fixed a problem within the Kerberos 5 TGS-REP (-m 13100) hash parser
- Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check - Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check
- Fixed cracking of PeopleSoft Token (-m 13500) if salt length + password length is >= 128 byte - Fixed cracking of PeopleSoft Token (-m 13500) if salt length + password length is >= 128 byte
- Fixed cracking of Plaintext (-m 99999) in case MD4 was used in a previous session - Fixed cracking of Plaintext (-m 99999) in case MD4 was used in a previous session
- Fixed DEScrypt cracking in BF mode in case the hashlist contains more than 16 times the same salt - Fixed DEScrypt cracking in BF mode in case the hashlist contains more than 16 times the same salt
- Fixed duplicate detection for WPA handshakes with the same ESSID - Fixed duplicate detection for WPA handshakes with the same ESSID
- Fixed nvapi datatype definition for NvS32 and NvU32 - Fixed nvapi datatype definition for NvS32 and NvU32
- Fixed pointer to local outside scope in case -j or -k is used - Fixed pointer to local outside scope in case -j or -k is used
- Fixed pointer to local outside scope in case --markov-hcstat is not used - Fixed pointer to local outside scope in case --markov-hcstat is not used
- Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word - Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word
- Fixed rule 'i' (RULE_OP_MANGLE_INSERT) in host mode in case the offset parameter equals the length of the input word
- Fixed string not null terminated inside workaround for checking drm driver path - Fixed string not null terminated inside workaround for checking drm driver path
- Fixed string not null terminated while reading maskfiles - Fixed string not null terminated while reading maskfiles
- Fixed truncation of password after position 32 with the combinator attack - Fixed truncation of password after position 32 with the combinator attack

View File

@ -213,7 +213,7 @@ static int mangle_omit (char arr[BLOCK_SIZE], int arr_len, int upos, int ulen)
static int mangle_insert (char arr[BLOCK_SIZE], int arr_len, int upos, char c) static int mangle_insert (char arr[BLOCK_SIZE], int arr_len, int upos, char c)
{ {
if (upos >= arr_len) return (arr_len); if (upos > arr_len) return (arr_len);
if ((arr_len + 1) >= BLOCK_SIZE) return (arr_len); if ((arr_len + 1) >= BLOCK_SIZE) return (arr_len);