1
mirror of https://github.com/hashcat/hashcat synced 2024-11-28 05:21:38 +01:00

RAR3-p (Compressed): Fix workaround in unrar library in AES constant table generation to enable multi-threading support

This commit is contained in:
Jens Steube 2021-05-27 09:21:44 +02:00
parent 66ba860c8a
commit 9ca94a2a36
3 changed files with 2 additions and 4 deletions

View File

@ -64,7 +64,7 @@ inline void Copy128(byte *dest,const byte *src)
Rijndael::Rijndael() Rijndael::Rijndael()
{ {
if (S[0]==0) //if (S[0]==0)
GenerateTables(); GenerateTables();
CBCMode = true; // Always true for RAR. CBCMode = true; // Always true for RAR.
} }

View File

@ -23,6 +23,7 @@
- Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device) - Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device)
- UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt, MultiBit HD (scrypt) and Umbraco HMAC-SHA1 - UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt, MultiBit HD (scrypt) and Umbraco HMAC-SHA1
- AES Crypt Plugin: Reduced max password length from 256 to 128 which improved performance by 22% - AES Crypt Plugin: Reduced max password length from 256 to 128 which improved performance by 22%
- RAR3-p (Compressed): Fix workaround in unrar library in AES constant table generation to enable multi-threading support
## ##
## Technical ## Technical
@ -32,7 +33,6 @@
- Dependencies: Updated xxHash from 0.1.0 to v0.8.0 - Stable XXH3 - Dependencies: Updated xxHash from 0.1.0 to v0.8.0 - Stable XXH3
- Documentation: Update missing documentation in plugin developer guide for OPTS_TYPE_MP_MULTI_DISABLE and OPTS_TYPE_NATIVE_THREADS - Documentation: Update missing documentation in plugin developer guide for OPTS_TYPE_MP_MULTI_DISABLE and OPTS_TYPE_NATIVE_THREADS
- Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin - Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin
- RAR3-p (Compressed): Deactivated plugin because unrar is having serious problems with multi threading which lead to false negatives
* changes v6.2.0 -> v6.2.1 * changes v6.2.0 -> v6.2.1

View File

@ -9,8 +9,6 @@ PRODUCTION := 0
PRODUCTION_VERSION := v6.2.1 PRODUCTION_VERSION := v6.2.1
ENABLE_CUBIN ?= 1 ENABLE_CUBIN ?= 1
ENABLE_BRAIN ?= 1 ENABLE_BRAIN ?= 1
# unrar is having serious problems with multi threading which lead to false negatives
# poc: https://github.com/hashcat/hashcat/issues/2796
ENABLE_UNRAR ?= 1 ENABLE_UNRAR ?= 1
USE_SYSTEM_LZMA ?= 0 USE_SYSTEM_LZMA ?= 0
USE_SYSTEM_ZLIB ?= 0 USE_SYSTEM_ZLIB ?= 0