1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-02 03:48:16 +00:00
Commit Graph

5182 Commits

Author SHA1 Message Date
Jens Steube
bf110ee10f
Merge branch 'master' into asahi-fix 2025-06-03 14:59:04 +02:00
Jens Steube
2962b9d52e - Improved strategy to detect pyenv managed python libraries
- Improved documents on python bridge
2025-06-03 07:10:50 +02:00
Jens Steube
e8052a004b - Replace naive 32 bit rotate with funnelshift on CUDA/HIP
- Replace V_ALIGNBIT_B32 with funnelshift on HIP
- Improve RC4 performance by preventing inlineing
- Fix leftover code in yescrypt-platform.c
- Update docs/hashcat-assimilation-bridge-development.md
- Only initialize hwmon on host for virtualized backends
- Improve SCRYPT tunings on AMD RX6900XT
2025-06-02 11:50:08 +02:00
Jens Steube
73d817e74f The Assimilation Bridge (Python plugins -m 72000 and -m 73000) 2025-06-02 10:15:34 +02:00
Jens Steube
b02b1b5033 - Add code to recognize Microsofts OpenCL D3D12 platform
- Skip memory-free detection on MS OpenCL platform to avoid crashes
- Improve salt usage of 70100/70200, use decoder/kernels from 8900
- Add REPLACE bridge type support (eg. BRIDGE_TYPE_REPLACE_LOOP)
- Switch 70000, 70100 and 70200 to BRIDGE_TYPE_REPLACE_LOOP
- Add synchronization barriers on d2h copy when using bridges
- Improve speed status display updates when using bridges
- Set AMD_DIRECT_DISPATCH=0 to reduce CPU burning loop on AMD backends
- Set benchmark/selftest hash on 70100/70200 to 16:8:1
2025-06-02 06:59:36 +02:00
Jens Steube
ed71e41ae1 The Assimilation Bridge (Scrypt-Yescrypt GPU-CPU hybrid plugin -m 70200) 2025-06-01 07:10:00 +02:00
Jens Steube
22c25b3ea1 Fix cross-compiler target in makefiles
Do not show timeout patch warnings in virtualized mode
2025-06-01 06:39:55 +02:00
Jens Steube
a2a9941475 The Assimilation Bridge (Scrypt-Jane GPU-CPU hybrid plugin -m 70100) 2025-05-31 12:24:44 +02:00
Jens Steube
aad670a543
Merge pull request #4228 from matrix/master
Added sse2neon to fix compile errors on macOS for custom hashcat codes on phc-winner-argon2
2025-05-31 09:10:46 +02:00
Jens Steube
c56199f06b Fix bridge_argon2id_reference.mk to compile on MSYS 2025-05-31 08:59:18 +02:00
Gabriele Gristina
70825ebac4 Added sse2neon to fix compile errors on macOS for custom hashcat codes on phc-winner-argon2 2025-05-30 21:57:05 +02:00
Jens Steube
dc50bdbc72 The Assimilation Bridge (Argon2id plugin -m 70000) 2025-05-30 11:21:40 +02:00
Gabriele Gristina
4788e6d869
Merge branch 'master' into makefile-clangIdentification 2025-05-30 07:58:19 +02:00
Gabriele Gristina
daa41a0ab8 add -std=c++14 for UNRAR only on MacOS 2025-05-29 22:05:03 +02:00
Gabriele Gristina
f094ac207b trying remove -std=c++14 from CFLAGS_UNRAR 2025-05-29 21:59:48 +02:00
Jens Steube
ceb5ff5641 The Assimilation Bridge (Framework) 2025-05-29 15:38:13 +02:00
Jens Steube
4df5e4517d
Merge pull request #4162 from magnumripper/robust-lock
Recover from (rare) non-fatal file locking problems
2025-05-28 20:47:56 +02:00
Jens Steube
eb685389d4
Merge pull request #4217 from matrix/issue_4216
fix build error on old linux distro
2025-05-28 20:37:41 +02:00
Jens Steube
bce5e1a332
Merge pull request #4188 from matrix/hc_decompress_rar_fp
Modules: Check UnpackSize to raise false positive with hc_decompress_rar
2025-05-27 19:45:49 +02:00
Jens Steube
3dca391770
Merge pull request #4182 from holly-o/blake2s_hmac
Add plugin for HMAC-BLAKE2s
2025-05-26 20:17:59 +02:00
Jens Steube
f9822fe569
Merge pull request #4185 from matrix/deep_comp_aux_workaround
workaround for issue #3914
2025-05-25 08:14:23 +02:00
Jens Steube
3517772fb9
Merge pull request #4178 from PenguinKeeper7/20510-kg-recommend
Recommend --keep-guessing on -m 20510
2025-05-25 07:22:50 +02:00
Jens Steube
40365a32d0
Merge pull request #4195 from matrix/issue_4175
Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951)
2025-05-24 16:29:26 +02:00
Gabriele Gristina
15e74c2e57 fix build error on old linux distro 2025-05-24 15:39:06 +02:00
Gabriele Gristina
0518b29e19
Merge branch 'master' into makefile-clangIdentification 2025-05-24 10:49:00 +02:00
Jens Steube
c9a4609c1f Rename -m 20713 to -m 20730 2025-05-22 07:38:19 +02:00
Jens Steube
1b279abf36
Merge pull request #4184 from vikerup/module_27013
add module 20713 - sha256(sha256(pass+salt))
2025-05-22 07:33:47 +02:00
Jens Steube
686c2ac078
Merge pull request #4199 from matrix/resurrect_PR_2561
Added hash-mode: BestCrypt v4 Volume Encryption
2025-05-19 13:57:14 +02:00
Jens Steube
6782d78898 Rename -m 4500x to -m 3350x 2025-05-18 21:07:44 +02:00
Jens Steube
b9938f34d6
Merge pull request #4201 from matrix/RC4_KPA
Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN
2025-05-18 20:39:24 +02:00
Jens Steube
e69045823b
Merge pull request #4210 from matrix/fix_6100_apple
fix errors with Apple GPU for module 6100
2025-05-15 23:05:29 +02:00
Jens Steube
28c22ea397
Merge pull request #4208 from matrix/module_unstable_warning_update
Modules: Updated module_unstable_warning
2025-05-15 23:05:01 +02:00
Gabriele Gristina
dd1c06cda6 fix errors with Apple GPU for module 6100 2025-05-15 20:24:40 +02:00
Jens Steube
787dcce90b
Merge pull request #4203 from matrix/bench_min_max
Added options --benchmark-min and --benchmark-max to set a hash-mode range to be used during the benchmark
2025-05-13 11:12:21 +02:00
Jens Steube
e8cc0cc978
Merge pull request #4205 from matrix/LZMA_SDK_update
Dependencies: Updated LZMA SDK to 24.09
2025-05-12 16:43:55 +02:00
Gabriele Gristina
003579d21b Modules: Updated module_unstable_warning 2025-05-11 15:40:52 +02:00
Jens Steube
b0c7765e88 - Backport code from hipDllPath to hiprtcDllPath
- Fix some compiler warning
- Remove some unused code
- We will add changes to docs/ and user-notifications on versioning later
2025-05-11 14:08:04 +02:00
Gabriele Gristina
6082fc42a9 fix module_unstable_warning for hash-mode 40000, 40001 and 40002 2025-05-10 14:14:26 +02:00
Jens Steube
d10ffbb461 Change amdhip64.dll installation path detection strategy 2025-05-10 12:11:40 +00:00
Jens Steube
58d9ba4c8b
Merge branch 'master' into patch-1 2025-05-08 08:23:31 +02:00
Gabriele Gristina
1e6d74b938 Dependencies: Updated LZMA SDK to 24.09 2025-05-07 19:57:03 +02:00
Gabriele Gristina
120e758be9 Added options --benchmark-min and --benchmark-max to set a hash-mode range to be used during the benchmark 2025-05-07 18:46:51 +02:00
Gabriele Gristina
ff6185e9b4 Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN 2025-05-06 20:44:50 +02:00
holly-o
96cadf80c1 Removed local .DS_Store files 2025-04-28 08:29:56 +01:00
Gabriele Gristina
24fa627f2f Added hash-mode: BestCrypt v4 Volume Encryption 2025-04-27 20:57:43 +02:00
Gabriele Gristina
cc9ae09b94 Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951) 2025-04-25 19:13:33 +02:00
Gabriele Gristina
21a471139a avoid processing crc32 if the unpacked size is not the expected 2025-04-24 11:16:54 +02:00
Gabriele Gristina
6568c5988b fix #3914 2025-04-18 14:17:21 +02:00
Andreas Vikerup
3268b58e24 add module 20713 - sha256(sha256(pass+salt)) 2025-04-15 16:25:53 +02:00
PenguinKeeper7
9b9a7a519a Recommend --keep-guessing on -m 20510 2025-04-05 19:10:12 +01:00
magnum
b2c846135d Recover from (rare) non-fatal file locking problems 2025-02-26 11:12:47 +01:00
Mayank Malik
3033ed1263
Merge branch 'hashcat:master' into hip_rtc_windows_env_implementation 2025-02-11 16:50:50 +05:30
Code Curiously
5b26392adb Fix RAM usage bug for Linux Apple Silicon #4125 2024-12-01 19:20:26 +00:00
wizardsd
0ba76629c0 Fixed a host buffer overflow bug when copying rules from host to device 2024-11-07 12:47:36 +03:00
Gabriele Gristina
5efbd2f435 Fixed clang identification in src/Makefile 2024-10-31 18:17:34 +01:00
Mathias
d756a6617c
Update backend.c
Fixes hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION on AMD 6900XT.

```bash
hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

ld.lld: error: undefined hidden symbol: __ockl_get_group_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

ld.lld: error: undefined hidden symbol: __ockl_get_local_size
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

ld.lld: error: undefined hidden symbol: __ockl_get_local_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.
```
2024-10-29 15:35:10 +01:00
Gabriele Gristina
356ad9f927 Fixed memory leaks in tuning_db_init in tuningdb.c 2024-10-27 00:45:44 +02:00
Gabriele Gristina
0788fd9ae7 Fixed stack buffer overflow in PKZIP modules (17200, 17210, 17220, 17225, 17230) 2024-10-26 13:24:00 +02:00
jsteube
6716447dfc Add support for zero-length salts in Electrum $4 and $5 2024-04-20 17:35:45 +00:00
Mayank
992f1c13ba
Removed -nocudalib from hiprtc_options to fix LLVMBitcode compilation error when using HIP Backend 2024-02-09 23:15:54 +05:30
Mayank
08f6cf7e0a
Updated HIP SDK detection to use ENV variable on Windows 2024-02-08 10:16:25 +05:30
fse-a
f8c0899670 Increased-virtual-backend-limit
Increased the virtual backend limit.
2024-01-25 10:27:38 +01:00
Royce Williams
cd5dc9e3ce summarize invalid rule chains 2023-12-12 23:00:20 -09:00
Jens Steube
4d412c8e04
Merge pull request #3910 from Fil0sOFF/intel-igpu-memory-usage-fix
Fix RAM usage for Intel iGPUs
2023-11-27 16:24:08 +01:00
jsteube
e15169bd49 Fix allocation buffer for --dynamic-x in hashes_init_stage2() 2023-11-26 07:31:18 +00:00
jsteube
810c65f908 Fix some warning about --dynamic-x in hashes_init_stage1() 2023-11-25 11:44:47 +00:00
jsteube
d7bcc76b92 Add dynamic-x info to to save_hash() 2023-11-24 23:20:46 +00:00
Sergey Popov
c7923fe8ba Fix RAM usage for Intel iGPUs 2023-11-24 23:03:00 +02:00
jsteube
1b357036f4 Add initial code for dynamic-x support in potfile.c, not active yet 2023-11-20 10:14:09 +00:00
jsteube
9269229c03 Fix some variable names and types related to dynamic-x support in hashes.c 2023-11-19 11:45:24 +00:00
jsteube
b906a145ca Initialize new dynamicx type in autodetect_hashmode_test() 2023-11-18 21:04:41 +00:00
jsteube
d2d27cd35e Add code to fetch dynamic-x info in potfile if there's dynamic-x enabled 2023-11-17 22:03:01 +00:00
jsteube
252e7614da Add a warning about delayed output in case --dynamic-x is used in combination with --show 2023-11-14 07:05:20 +00:00
jsteube
702306dfd5 If --dynamic-x is used, potfile database needs to keep all hashes 2023-11-13 08:48:11 +00:00
jsteube
4da1d31668 Replaced index() with strchr() to enable mingw to compile windows binaries 2023-11-12 11:02:10 +00:00
jsteube
934105bec0 Start using extract_dynamicx_hash() from hlfmt_hash_hashcat() 2023-11-10 09:16:28 +00:00
jsteube
2029be782e Refactor extract_dynamic_x() to extract_dynamicx_hash() and add code 2023-11-09 15:04:32 +00:00
jsteube
2d3ebf1d4e Add global dynamic-x hash mode extraction function 2023-11-08 14:43:45 +00:00
jsteube
4da995cf88 Change hlfmt.c strategy to extract dynamic-x hash-mode 2023-11-07 22:08:55 +00:00
jsteube
09915c7243 Prepare hlfmt.c for combination of --username and --dynamic-x 2023-11-06 20:05:09 +00:00
jsteube
5f735dadae Add usage entry for new --dynamic-x parameter 2023-11-04 13:16:56 +00:00
jsteube
c00d88e2d9 Prepare hlfmt.c for dynamic_x flag 2023-11-03 18:30:29 +00:00
jsteube
cdad6cca7b Fix datatype access to user_options->username in hlfmt.c 2023-11-02 16:48:54 +00:00
jsteube
b66527f0d2 Prepare commandline parameter for upcoming partial support for $dynamic_X$ 2023-11-01 16:12:44 +00:00
jsteube
b1b349e8c9 Prepare commandline parameter for upcoming partial support for $dynamic_X$ 2023-10-31 10:38:10 +00:00
jsteube
adbcef6909 Refactor optimized_kernel_enable variable to just optimized_kernel, same idea as outfile_autohex variable 2023-10-30 15:09:36 +00:00
jsteube
686bc227cf Allow user to use --keyboard-layout-mapping for VeraCrypt SHA512 plugins.
This plugin doesn't require a dedicated boot hash-mode, because the iteration count is the same for both boot and partition/file hash-mode.
For that reason it should be allowed to use keyboard mapping functionality.
2023-10-26 11:42:01 +00:00
jsteube
e55b331058 Refactor potfile_disable variable to just putfile, same idea as outfile_autohex variable 2023-10-21 16:42:29 +00:00
jsteube
b597a96328 Refactor restore_disable variable to restore_enable, try to make variable names always positive for easier handling 2023-10-20 12:16:18 +00:00
jsteube
ff94f4c9d0 Refactor self_test_disable variable to just self_test, same idea as outfile_autohex variable 2023-10-19 06:08:24 +00:00
jsteube
7b52dad8c9 Refactor multiply_accel_disable variable to just multiply_accel, same idea as outfile_autohex variable 2023-10-18 12:41:09 +00:00
jsteube
bf04a158aa Refactor markov_disable variable to just markov, same idea as outfile_autohex variable 2023-10-17 12:17:05 +00:00
jsteube
e498138bb6 Refactor logfile_disable variable to just logfile, same idea as outfile_autohex variable 2023-10-16 13:18:45 +00:00
jsteube
31240cf91a Fix hwmon_disable issue in hwmon.c 2023-10-15 18:43:36 +00:00
jsteube
98ee1bd396 Refactor hwmon_disable variable to just hwmon, same idea as outfile_autohex variable 2023-10-15 18:40:56 +00:00
jsteube
1255afb55c Refactor deprecated_check_disable variable to just deprecated_check, same idea as outfile_autohex variable 2023-10-13 12:17:44 +00:00
jsteube
652b66e642 Refactor advise_disable variable to just advise, same idea as outfile_autohex variable 2023-10-12 13:03:45 +00:00
jsteube
4dceea914f Refactor wordlist_autohex_disable variable to wordlist_autohex, same idea as outfile_autohex variable 2023-10-10 21:03:07 +00:00
PenguinKeeper7
a033180aa1
Update user_options.c 2023-10-08 02:59:01 +01:00
jsteube
37175f5067 Add remaining --outfile-json code 2023-10-07 13:02:47 +00:00