1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00
Commit Graph

2200 Commits

Author SHA1 Message Date
Jens Steube
bb402b784a Update module_unstable_warning for benchmark short selection on macOS for CPU and GPU; Allow use of GPU without --force testwise 2021-05-10 14:36:41 +02:00
Jens Steube
78a053800f Remove module_unstable_warning() entries for AMD (legacy) driver after workaround with zero check on context length is in use 2021-05-09 10:33:05 +00:00
Jens Steube
9bf0f36d0a Get rid of MAYBE_VOLATILE for context position by replacing it with zero length check 2021-05-09 11:43:32 +02:00
Jens Steube
e4dab0f1bf OpenCL Runtime: Workaround JiT compiler segfault on legacy AMDGPU driver compiling RAR3 OpenCL kernel 2021-05-09 07:38:22 +00:00
Jens Steube
9813811493 Remove truncation of buffer in hc_enc_next() to workaround AMD JiT compiler (legacy) issue 2021-05-08 16:38:48 +02:00
Jens Steube
a02b2ccd5f Fix type of address space of pointer in sha512_hmac_init_global_utf16le_swap() 2021-05-01 14:43:10 +02:00
Jens Steube
0439f0c4a1 Refactor UTF8 to UTF16 conversion from fixed size to a dynamic size using a context struct. This allows handle buffer sizes of arbitrary length for conversion 2021-05-01 12:49:43 +02:00
Jens Steube
f8ea1d5e78 Improve performance of test_any_8th_bit() by manually unrolling a few first steps 2021-04-30 17:22:31 +02:00
Jens Steube
b7dffd9259 Improve performance for UTF8->UTF16 conversion
Reverted d343e2c4a0 and ee26805138
Adds a test to decide whatever conversion technique to use. If all UTF8 characters are 7 bit, there's no need for regular conversion and we can stick to naive conversion.
2021-04-30 16:55:30 +02:00
Jens Steube
736290151d
Merge pull request #2638 from matrix/20710_fix
Fixed hash-mode 20710: removed unused code and fixed module_constraints
2021-04-29 16:08:00 +02:00
Jens Steube
17b9fcb925 Fix unicode conversion in -m 24800 2021-04-26 09:24:06 +02:00
Jens Steube
1879cbefd2 Fixed vector datatype support in -m 21100 only -P mode and only -a 3 mode were affected 2021-04-25 21:25:28 +02:00
Jens Steube
092e838cf4 Fixed buffer overflow in -m 4710 in -P mode and only in single hash mode if salt length was larger than 32 byte 2021-04-25 20:50:59 +02:00
Jens Steube
7a5f3610ca Fixed buffer overflow in -m 1800 in -O mode which is optimized to handle only password candidates up to length 15 2021-04-25 17:46:03 +02:00
Jens Steube
146a5237b5 Improved SCRYPT performance and updated hashcat.hctune 2021-04-24 14:01:13 +02:00
Jens Steube
1dac869cb7 Removed unnecessary swaps in SCRYPT based algorithms 2021-04-23 20:55:13 +02:00
Jens Steube
6c54314c2d Update -a 3 kernels to make use of new parameter salt_repeat 2021-04-22 19:42:49 +02:00
Jens Steube
2b069a94fd Reduce some register allocation in SCRYPT based kernels to improve speed on GPU with low resources 2021-04-22 00:26:09 +02:00
Jens Steube
15f35fa68c Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value 2021-04-21 15:59:14 +02:00
Jens Steube
62fc3601bb Wrap atomic functions with hc_ prefix to have better platform control 2021-04-20 17:47:44 +02:00
Jens Steube
73cc3170f4 Fixed both false negative and false positive result in -m 3000 in -a 3 (affected only NVIDIA GPU) 2021-04-20 17:14:13 +02:00
Jens Steube
4ddbd7e047 Fix false positives in -m 3000 in -a 3 mode 2021-04-20 11:14:28 +02:00
Jens Steube
5e9adac1c2 Update module_unstable_warning() results after Crypt::CBC has been fixed 2021-04-19 07:51:26 +02:00
Jens Steube
dc79983bc9 Fix out-of-boundary reads in -m 24800 pure kernels 2021-04-18 15:19:14 +02:00
Jens Steube
ee7d8ef0e7 Added new hash-modes Mozilla key3.db and key4.db 2021-04-17 21:24:27 +02:00
Jens Steube
90bb28fcc7
Merge branch 'master' into 24300-mode 2021-04-15 17:55:07 +02:00
Jens Steube
bd3c5795f5
Merge pull request #2583 from philsmd/telegram_desktop_modern
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512)
2021-04-15 17:20:07 +02:00
Jens Steube
ee26805138 In UTF8 to UTF16 conversion, reserve enough room to handle very long UTF8 inputs 2021-04-12 14:44:56 +02:00
Robert Gützkow
ada829fa20
Fix the processing for constant salt
KNX IP Secure uses a constant salt, which require the use of `OPTS_TYPE_DEEP_COMP_KERNEL`. This commit adds the required options and adjusts the indexing of the esalt accordingly. The attempt at an optimized kernel has been removed as requested in the PR feedback. Additionally, minor formatting improvements have been made.
2021-04-12 09:48:38 +02:00
Robert Gützkow
364338a0c9
Merge remote-tracking branch 'origin/master' into knx-ip-secure 2021-04-11 14:36:54 +02:00
Robert Gützkow
c7aaf07b41
Optimizations for m25900 2021-04-11 14:13:47 +02:00
Jens Steube
d343e2c4a0 Added support for true UTF8 to UTF16 conversion in kernel crypto library 2021-04-11 11:53:47 +02:00
Jens Steube
97cce89bb8
Merge pull request #2739 from thatux/pdf-edit-25400
Added attack mode 25400
2021-04-10 10:51:39 +02:00
Your Name
4b24e91610 now we can crack the hash direct from pdf2john.pl, no need to alter it ourselves anymore 2021-04-10 00:07:00 +02:00
Jens Steube
55e3952815 - Computed invalid J0 buffer if IV's != length 12
- Computed invalid GCM hash in AES_GCM_ghash(). Last 15 byte logic was partially incorrect. Worked for length % 16 = 8, but not length % 16 = 5
- Get rid of all byte swaps
2021-04-09 16:35:32 +02:00
Jens Steube
57213e6c6c Add AES_GCM_GHASH_GLOBAL() to allow using encrypted data directly from GPU memory to avoid reserving registers 2021-04-08 13:19:27 +02:00
Jens Steube
9979394745
Merge branch 'master' into mongodb-scram 2021-04-06 13:52:13 +02:00
Jens Steube
71a8f97294 Optimize GCM code to use only u32 data types, make it CUDA compatible and remove some branches 2021-04-05 17:59:42 +02:00
Jens Steube
1ba1fa6e58
Merge branch 'master' into full-aes-gcm-and-hash-mode-27000 2021-04-05 17:51:43 +02:00
Robert Gützkow
9a4a8d942e
Plugin for KNX IP Secure's device authentication code 2021-04-03 19:07:06 +02:00
Jens Steube
c3c315b170
Merge pull request #2706 from bernardladenthin/master
Refactoring to improve usage in external programs.
2021-04-02 11:05:54 +02:00
Jens Steube
9ee1977ac7 Rename -m 29700 to 25300 2021-04-02 11:05:00 +02:00
Jens Steube
2537de1fd4
Merge pull request #2700 from matrix/office-2016-sheetprot
Added hash-mode: MS Office 2016 - SheetProtection
2021-04-02 11:02:17 +02:00
Your Name
d52f9c2cad Added attack mode 25400 which cracks a pdf edit password. It's largely duplicate code of 10500. Based on https://hashcat.net/forum/thread-6233.html 2021-04-01 22:20:54 +02:00
Jens Steube
b3bfaf8e1e Rename -m 29800 to -m 24700 and other small changes 2021-04-01 11:14:18 +02:00
Jens Steube
9ce063d4b6
Merge pull request #2702 from matrix/stuffit5
Added hash-mode: Stuffit5
2021-04-01 11:08:27 +02:00
Jens Steube
42dfa6b543 Add optimized -m 24800 kernels 2021-03-31 11:05:22 +02:00
Jens Steube
ea4fdcd7dd
Merge pull request #2703 from lordneon/master
Added hash-mode 24800 - Umbraco HMAC-SHA1
2021-03-31 11:03:41 +02:00
Jens Steube
9e474e1e83 Add support for modulus operator in vector data types 2021-03-30 21:43:27 +02:00
Jens Steube
de19c31dee Remove lookup table for speed, add vector datatype support for CPU and unit-test script for -m 24900 2021-03-27 14:08:22 +01:00