1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

WinZip Kernel: Increase supported data length from 8k to 16mb

This commit is contained in:
Jens Steube 2021-07-15 16:42:29 +02:00
parent 372ca6609f
commit 4730cf6e79
3 changed files with 4 additions and 3 deletions

View File

@ -37,7 +37,7 @@ typedef struct zip2
u32 verify_bytes;
u32 compress_length;
u32 data_len;
u32 data_buf[2048];
u32 data_buf[0x4000000];
u32 auth_len;
u32 auth_buf[4];

View File

@ -63,6 +63,7 @@
- OpenCL Runtime: Workaround JiT crash (SC failed. No reason given.) on macOS by limiting local memory allocations to 32k
- Status View: Include time and duration info when pausing and resuming
- Tests: Changed tests for VeraCrypt from -a 0 to -a 3, because password extension is not available to all shells
- WinZip Kernel: Increase supported data length from 8k to 16mb
* changes v6.2.1 -> v6.2.2

View File

@ -61,7 +61,7 @@ typedef struct zip2
u32 verify_bytes;
u32 compress_length;
u32 data_len;
u32 data_buf[2048];
u32 data_buf[0x4000000];
u32 auth_len;
u32 auth_buf[4];
@ -166,7 +166,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
| TOKEN_ATTR_VERIFY_HEX;
token.len_min[7] = 0;
token.len_max[7] = 16384;
token.len_max[7] = 0x4000000 * 4 * 2;
token.sep[7] = '*';
token.attr[7] = TOKEN_ATTR_VERIFY_LENGTH
| TOKEN_ATTR_VERIFY_HEX;