1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00
Commit Graph

150 Commits

Author SHA1 Message Date
PenguinKeeper7
4ea43742b9 Update inc_common.cl 2023-09-18 13:13:17 +01:00
Gabriele Gristina
7ab1110907 Fixed build failure for almost all hash modes that make use of hc_swap64 and/or hc_swap64_S with Apple Metal 2023-05-20 03:54:06 +02:00
jsteube
d5a74b2536 Add new function is_valid_printable_32() to check if 32 bit integer consist only of printable characters and update -m 26610 as example use case 2023-03-07 21:43:44 +00:00
jsteube
9ec6392c92 Fix untested byte range coverage in UTF8 to UTF16 converter 2023-02-14 09:46:28 +00:00
Jens Steube
730b1cd5cc Update UTF8 to UTF16 conversion to match RFC 3629 2023-02-10 23:28:23 +01:00
jsteube
6ee2658104 Prefix more macros to avoid collisions in other existing libraries 2023-01-30 14:41:12 +00:00
jsteube
98d721cf69 Prepare rename macros in kernel files from _MACRO to MACRO 2023-01-18 15:34:49 +00:00
philsmd
4ec7b83ddb
add make_utf16beN_S () and sha1_update_utf16beN () 2022-06-04 11:11:40 +02:00
piwvvo
1ecfb8899f Added sha1($salt.sha1($username.':'.$pass, true)) 2022-05-07 02:09:27 +02:00
Jens Steube
753994bfe0 Fixed password reassembling function reporting an incorrect candidate in some cases when the correct candidate has zero length 2022-03-30 20:52:47 +02:00
Gabriele Gristina
9d36245d51 Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime 2022-02-04 19:54:00 +01:00
Jens Steube
af40ec0640
Merge pull request #2907 from fse-a/GPG
Added GPG module and kernel
2021-09-04 18:27:54 +02:00
hops
ab164ddba2 Fix HAS_VPERM check in make-/undo_utf16* functions 2021-09-02 11:37:09 +02:00
Jens Steube
1f22984313 The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again. 2021-08-12 15:15:32 +02:00
Jens Steube
f72f2b0f09 Encoding: Truncate password candidates in UTF8 -> UTF16 conversion if it contains an invalid UTF8 byte sequence 2021-08-11 16:44:04 +02:00
therealartifex
0738820a89
Merge branch 'hashcat:master' into master 2021-08-05 09:29:41 -04:00
Jens Steube
cb69e2d413 Added some HIP version checks, fall back to OpenCL automatically
Switched HIP version check from driverVersion to runtimeVersion
Fixed syntax check of HAS_VPERM macro in several kernel includes causing invalid error message for AMD GPUs on Windows
Updated AMD driver requirements
Updated docs/changes.txt with missing changes from previous commits
Fixed invalid vector data type in Murmur Hash in -a 3 mode
Fixed uninitialized variable warning in src/hashes.c
Fixed broken support for --generate-rules-func-min
2021-08-04 20:49:22 +02:00
therealartifex
ff55f31081 Update module, add a0 and a1 optimized kernels 2021-08-04 01:39:47 -04:00
Jens Steube
3d4e2aec43 Work around segmentation fault in Intel JiT 2021.12.6.0.19_160000 compiling hc_enc_next()/hc_enc_next_global() 2021-08-03 08:34:37 +02:00
Jens Steube
0810126145 Fix Blake2b in generic mode 2021-08-02 14:12:36 +02:00
pelle
00c9c2ed1b Added GPG module and kernel. 2021-07-27 20:46:33 +02:00
Jens Steube
cf512faa53 Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend 2021-07-14 17:06:20 +02:00
Jens Steube
1b84a9e53b Add missing backports from code base v6.2.2
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip 2021-07-10 21:34:09 +02:00
reger-men
ea7b74389f First draft HIP Version 2021-07-09 03:50:40 +00:00
Jens Steube
62397283c1 VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.
See https://github.com/hashcat/hashcat/issues/2616 for details.
2021-06-17 09:45:30 +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
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
62fc3601bb Wrap atomic functions with hc_ prefix to have better platform control 2021-04-20 17:47:44 +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
04d5e5a119 New Attack-Mode: Association Attack. Like JtR's single mode. Very early
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
Jens Steube
ade00c412b Add code to inc_common.cl to do PKCS padding checks as well as (naive) ASN.1 detection 2020-07-30 14:51:04 +02:00
Jens Steube
4658e470a2 OpenCL Kernels: Added datatypes to literals of some 64 bit kernel constants 2020-07-22 14:06:58 +02:00
Jens Steube
70ba719169 OpenCL Kernels: Added datatypes to literals of enum costants 2020-07-22 12:34:00 +02:00
philsmd
bd9304724c
fixes #1298: add pure kernels for -m 600 = BLAKE2b-512 2020-06-24 23:41:58 +02:00
Jens Steube
fa4b521d48 Add unpack_v8x_from_v32 for vector datatypes, update -m 200 2020-03-06 13:31:32 +01:00
Jens Steube
c9fdb34698 Do not use V_BFE_U32 with latest rocm version 2020-02-13 13:24:20 +01:00
Jens Steube
525f8af200 Add v8x_from_v64_x to inc_common.cl 2020-02-03 15:51:08 +01:00
Jens Steube
1fc37c25f9 OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time 2020-02-01 09:00:48 +01:00
Jens Steube
3a5544a554 Help some compiler with 64 bit constants 2020-01-21 22:09:56 +01:00
Jens Steube
89f9ef45b6 Whitelist some OpenCL specific functions 2020-01-12 13:32:02 +01:00
Jens Steube
cc2bd2b554 Fix rocm compiler warning 2020-01-12 08:52:15 +01:00
Jens Steube
a6c18f48ba Remove some double code 2019-11-22 23:12:57 +01:00
Gabriele Gristina
660da2da3d fix OpenCL compiler warning 2019-06-21 21:26:42 +02:00
Jens Steube
316095c151 Some more ROCm performance tuning 2019-06-20 10:04:31 +02:00
Jens Steube
6ec52bd342 ROCm JiT learned how to use V_ADD3_U32 efficiently 2019-06-18 12:41:59 +02:00
Jens Steube
153a8704e0 Fix some register type in inline assembly in some ROCM section 2019-05-14 13:03:40 +02:00