1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-06 06:42:35 +00:00
Commit Graph

379 Commits

Author SHA1 Message Date
Jens Steube
ed6e967425 Add experimental SCRYPT N-parameter auto-discovery
Remove existing tuningdb entries due to salsa_r() core
refactor. Update tuningdb engine to prefer file entries,
when available, over automatic discovery.

Improve memory-free detection per device, default
--backend-device-keepfree is now set to 0.

Old brute-force OpenCL behavior can be restored using
--backend-device-keepfree 100.
2025-06-08 07:32:32 +02:00
Gabriele Gristina
12f1fe56aa OpenCL Backend: added workaround to set device_available_memory from CUDA/HIP alias device 2025-06-07 20:22:01 +02:00
Gabriele Gristina
378abf6957 Metal Backend: added workaround to set the true Processor value in Metal devices on Apple Intel 2025-06-07 17:52:34 +02:00
Jens Steube
d60658102b Added option --backend-devices-keepfree to configure X percentage of device memory available to keep free 2025-06-04 10:13:29 +02:00
Jens Steube
bf110ee10f
Merge branch 'master' into asahi-fix 2025-06-03 14:59:04 +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
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
ceb5ff5641 The Assimilation Bridge (Framework) 2025-05-29 15:38:13 +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
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
Jens Steube
d10ffbb461 Change amdhip64.dll installation path detection strategy 2025-05-10 12:11:40 +00:00
Gabriele Gristina
6568c5988b fix #3914 2025-04-18 14:17:21 +02:00
Code Curiously
5b26392adb Fix RAM usage bug for Linux Apple Silicon #4125 2024-12-01 19:20:26 +00: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
fse-a
f8c0899670 Increased-virtual-backend-limit
Increased the virtual backend limit.
2024-01-25 10:27:38 +01:00
Sergey Popov
c7923fe8ba Fix RAM usage for Intel iGPUs 2023-11-24 23:03:00 +02:00
jsteube
c59b4bffd5 Add note on how to get CUDA running on WSL2 2023-09-27 08:14:51 +00:00
jsteube
0d0a07012c Do not show HIPRTC notice if HIP is not installed. In that case we can assume the system doesn't have an AMD GPU 2023-09-26 08:52:46 +00:00
Rosen Penev
ae07d65f34 clang-tidy: remove useless casts
Now that const was fixed, pointless casts can be removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:10:34 -07:00
Rosen Penev
795674c939 fix some const-qual warnings
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 20:55:54 -07:00
Rosen Penev
a59e030d7f
fix MinGW compilation
HC_API_CALL needs to be placed not just on the declaration.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-11 23:16:27 -07:00
jsteube
96b05b2630 AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (23.7.2 or later) and "AMD HIP SDK" (23.Q3 or later) 2023-08-05 15:58:22 +00:00
justpretending
b2f14f2f5d Fix some typos 2023-07-27 23:11:55 +07:00
jsteube
ab932815ea Fixed out-of-boundary read in autotune.c when a fast hash defines a kernel_loops_min value that is higher than the actual number of amplifiers provided by the user 2023-07-04 09:40:39 +00:00
Gabriele Gristina
ef81520158 Metal Backend: disable Metal devices only if at least one OpenCL device is active 2023-06-14 21:11:42 +02:00
Jens Steube
32517211a5
Merge pull request #3760 from matrix/check_invalid_kern_type
do not allow negative kern_type
2023-06-14 03:25:35 +02:00
Gabriele Gristina
eb276f12f6 do not allow negative kern_type 2023-06-07 21:06:57 +02:00
Gabriele Gristina
737989b7cf Metal Backend: allow use of devices with Metal if runtime version is >= 200 2023-06-07 01:17:30 +02:00
Gabriele Gristina
36606addac Help: show supported hash-modes only with -hh 2023-05-01 17:38:42 +02:00
jsteube
6785a32e7a Added new feature (-Y) that creates N virtual instances for each device in your system at the cost of N times the device memory consumption 2023-04-16 12:04:34 +00:00
Jens Steube
b1ca2ca539 Only try to allocate memory on a opencl device if it actually has memory 2023-04-11 10:17:32 +00:00
jsteube
6ad36db9ba Add some detailed information/warnings about dropped HIPRTC symbols in the current AMD Adrenalin driver 2023-03-29 20:16:36 +00:00
Dávid Bolvanský
29a461cb51
Respect quiet flag when printing Metal API warning
Fixes https://github.com/hashcat/hashcat/issues/3624
2023-03-28 00:05:46 +02:00
Royce Williams
ebe8741000 link to driver FAQ on CUDA failure 2023-03-07 12:27:30 -09:00
beschio
69a945ea75
fix Metal API advice 2023-02-04 22:47:10 +01:00
jsteube
3390159bb2 AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 exactly) 2023-01-04 08:36:37 +00:00
jsteube
c6a7826d12 Do not show metal disabled warning in backend information mode 2023-01-03 13:59:59 +00:00
jsteube
9651d3025c Fix error in backend.c if compiling on macOS 2022-12-31 16:04:35 +00:00
jsteube
b7925f1149 Add warning about automatically disabled Metal devices 2022-12-29 19:37:56 +00:00
jsteube
b228816067 Fix some missing newlines 2022-12-28 18:28:30 +00:00
Gabriele Gristina
15d74b7c1c Disable Metal < 200, commented unused and deprecated code 2022-12-08 18:59:34 +01:00
Gabriele Gristina
0f63294b8a Allow using Metal < 300 with --force 2022-12-08 17:37:50 +01:00
Jens Steube
a7dbd73612 Add Radeon Pro W5700X to more scrypt based hash-modes and fix some metal issues 2022-11-26 13:32:33 +01:00
Jens Steube
47b49d81de Prepare fixes to enable scrypt cracking on macOS 13 2022-11-24 22:46:03 +01:00
Jens Steube
18fcf28d64 Apple Driver: Automatically enable GPU support on Apple OpenCL instead of CPU support
Apple Driver: Updated requirements to use Apple OpenCL API to macOS 13.0
2022-11-20 14:27:16 +01:00
jsteube
9a52ee6d01 Fix error message in backend.c and add missing new hash-mode entries in changes.txt 2022-11-18 09:47:17 +00:00
Jens Steube
66b22fa644 Add support for Metal > 300 and reject support for older version 2022-11-16 14:26:54 +01:00
Jens Steube
8f0d69ea9c Always assume 8 compute unit for metal GPUs 2022-11-09 16:09:57 +01:00
Jens Steube
6d5d9a266f AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 or later) 2022-11-05 12:56:36 +01:00
Jens Steube
b8dd806944 Revert accidental removal of check to backend_devices_cnt 2022-11-01 19:39:03 +01:00