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

10169 Commits

Author SHA1 Message Date
Gabriele Gristina
c751424cc0
add missing macro for Apple 2025-07-18 21:01:13 +02:00
Gabriele Gristina
23b750492d
update Metal implementation and fix module 30601 2025-07-18 20:57:40 +02:00
Jens Steube
58b5d15e63 Remove artificial 64 processors for AMD iGPU, since we now use
a more accurate preferred thread size instead.

Automatically set artificial processor count to 1 for Intel iGPU,
since we now use a more accurate preferred thread size instead.

Removed the module_unstable_warning() entry for Intel GPUs on
non-Apple OpenCL platform for hash-mode 21800

Do not always ignore TMTO determination for iGPU's in
scrypt_common.c. We must at least check the available memory
size.

Added preferred thread count and unified memory type to -I output

Removed special characters in machine-readable format from -I output
2025-07-18 09:07:22 +02:00
Jens Steube
929af92b7d
Merge pull request #3907 from DCNick3/mega-password
Mode 33400: mega.nz password-protected link (PBKDF2-HMAC-SHA512)
2025-07-17 22:52:45 +02:00
Jens Steube
b007d28741 Set default thread count for Intel GPUs to 32
Changed the default thread count for Intel GPUs (both dGPU and iGPU)
to 32. This is likely because only newer iGPUs are supported by the
Intel Compute Runtime (2024+), and dGPUs already prefer 64
threads (2x32).

As a result, removed the module_unstable_warning() entry for Intel
GPUs on non-Apple OpenCL platform for the following hash modes:
8200, 17200, 17220, 17225, 21700, 25000, 25100, and 25200.
2025-07-17 22:49:43 +02:00
hashcat-bot
3d8aeabc4f
Merge pull request #4341 from svdb0/feature-modulectx-errors2
Improve error messages for module_ctx_t structure validation checks. (New attempt.)
2025-07-17 19:18:29 +02:00
Serge van den Boom
edc4ef8276 Improve error messages for module_ctx_t structure validation checks.
New attempt after botched earlier commit, which missed the actual changes.
2025-07-17 14:02:37 +02:00
hashcat-bot
15c906d455
Merge pull request #4092 from PenguinKeeper7/pbkdf1-sha1
Add PBKDF1-SHA1 / m32900
2025-07-16 21:43:16 +02:00
PenguinKeeper7
4fa0194c91 Convert to ATTACK_EXEC_OUTSIDE_KERNEL 2025-07-16 20:05:05 +01:00
hashcat-bot
b7f8f21452
Merge pull request #4164 from twier/module_30601_bcrypt_sha256
Add module 30601 for bcrypt-sha256 v2
2025-07-16 20:49:17 +02:00
hashcat-bot
6bedcc07d6
Update to latest hashcat base 2025-07-16 20:23:27 +02:00
hashcat-bot
907fac1355
Update to latest hashcat base 2025-07-16 20:22:29 +02:00
hashcat-bot
ad796638ff
Merge branch 'master' into mega-password 2025-07-16 20:22:00 +02:00
Jens Steube
479eaca458 Renamed hash-mode 33400 to 14200 to make room for the 33400 PR, which predates the current one using that hash-mode.
Fixed an invalid return type in hc_bytealign_be() if used from the CUDA runtime.
2025-07-16 20:20:25 +02:00
hashcat-bot
f83c17d6db
Merge pull request #3960 from PenguinKeeper7/increment-inverse
Add --increment-inverse
2025-07-16 19:33:38 +02:00
PenguinKeeper7
822cfd159d Fix GCC warning
See comments of https://github.com/hashcat/hashcat/pull/3960
2025-07-16 18:17:26 +01:00
Jens Steube
77b5c65e52 Fix hc_bytealign_be() declaration for CUDA: use u32x instead of u32
Add hc_uint4_t to SCRYPT to work-around Intel OpenCL alignment bug.
Align large buffers (V1-V4) manually to 1k-byte boundaries.
Replace uint4 xor operator with xor_uint4() function.
2025-07-16 12:43:11 +02:00
Jens Steube
dd02267bf2 Automatic downtune problem:
In the automatic downtune routine, hashcat prepares a fixed 512MiB host
buffer that is known to be allocated by the compute runtimes (CUDA, HIP,
OpenCL, Metal), and over which hashcat has no control.

However, hashcat still divides the maximum available host memory by the
active device count to automatically as a preparation to later downtune
the -n and -T parameters when memory is limited.

Hashcat reserves 512MiB per active device. With bridges, the active
devices become bridge units, which for modes 70000, 70100, and 70200
equals the CPU core count. On a 32-core CPU, this multiplies to 16GiB,
even though the memory is actually shared because of threading.
This leads to an overestimation of memory usage.

A simple fix is to divide the 512MiB buffer by the active device count.
This keeps the full 512MiB for a single GPU but avoids overestimating
memory usage with many virtual devices.

Fix code handling kernel-accel value in argon2_common.c for CPU,
which was accidentally removed during previous refactoring.

Set thread count to 1 for hash-mode 70000. Oversubscribing the CPU isn't
useful here. This allows to keep the wordlist count low, which is very
welcome for slow hashes like Argon2id.

Fix unit test for 20011/20012/20013 (DiskCryptor) by adding setuptools
to install_modules.sh and replacing AES.MODE_XTS with python_AES.MODE_XTS.

Fix false negative for kernel 32800, which only occurred if all
conditions were true: multihash, -a 3, optimized mode, and password
length between 16 and 31.

Fix Python package name in BUILD_WSL.md command line example.
2025-07-16 08:38:02 +02:00
hashcat-bot
28c486f26a
Merge pull request #4340 from Chick3nman/rp-warning-quiet
Silence some warning lines with --quiet
2025-07-16 07:51:03 +02:00
hashcat-bot
121bf72f9e
Merge pull request #4339 from matrix/update_types_modules_edge
Update types, modules, edge
2025-07-16 07:50:43 +02:00
PenguinKeeper7
088f4a804b Fix conflict and clean up code 2025-07-15 23:12:02 +01:00
PenguinKeeper7
1b2d71b8a2
Merge branch 'hashcat:master' into increment-inverse 2025-07-15 22:43:02 +01:00
Chick3nman
615e524fee Silence some warning lines with --quiet 2025-07-15 15:41:19 -05:00
Gabriele Gristina
a870b15324
Update types, modules, edge
Add OPTS_TYPE_PT_BASE58 in modules 28501 28502 28503 28504 28505 28506 30901 30902 30903 30904 30905 30906
Add OPTS_TYPE_PT_BASE58 and remove OPTS_TYPE_MAXIMUM_ACCEL in opts_type
Re-format opts_type section
Handle new BASE58 password type in terminal.c
Handle free_threaded python library checks in test_edge.sh
Handle new BASE58 checks in test_edge.sh
Improve errors handling in test_edge.sh
2025-07-15 22:01:50 +02:00
hashcat-bot
0a348859da
Merge pull request #3902 from PenguinKeeper7/outfile-check-timer
Check --outfile-check-timer immediately
2025-07-15 19:36:21 +02:00
hashcat-bot
d811b76124
Merge pull request #4337 from matrix/perl_gost_external
Unit tests: Updated install_modules.sh to use an external module for Digest::GOST, due to maintenance being discontinued
2025-07-15 19:14:17 +02:00
Gabriele Gristina
c12040b821
Unit tests: Updated install_modules.sh to use an external module for Digest::GOST, due to maintenance being discontinued 2025-07-15 13:48:47 +02:00
hashcat-bot
a79f0ea0de
Merge pull request #4335 from matrix/metal_test_edge_fix
Update edge, modules
2025-07-15 11:22:21 +02:00
Gabriele Gristina
0428e1ef3d
Update edge, modules
Fix deprecation warning on m30906.pm
Fix pipeline error with -m 32600 on Apple
Update edge_test.sh
Fix edge test vectors generation for hash-type 28501, 28502, 28503, 28504, 28505, 28506
2025-07-15 10:39:17 +02:00
Jens Steube
a53e05c8f7 Update -m 33400 to latest hashcat base 2025-07-15 09:52:35 +02:00
hashcat-bot
b324177172
Merge pull request #3940 from c0rs/racf-kdfaes-support
Added plugin for RACF KDFAES hashes
2025-07-15 09:50:33 +02:00
Jens Steube
ef0c23f2fb Updated -m 32800 to latest hashcat base
Fixed -m 32800 false negative in -a 3 multihash cracking in optimized mode
2025-07-15 09:35:37 +02:00
hashcat-bot
29691c31d8
Merge pull request #3977 from PenguinKeeper7/md5sha1md5
Added hash-mode: md5(sha1(md5($pass)))
2025-07-15 09:19:43 +02:00
Jens Steube
24fcb3d656 Renamed -m 32800 to -m 21900 2025-07-15 09:18:51 +02:00
hashcat-bot
3c8cc1f65e
Merge pull request #3942 from PenguinKeeper7/low-performance-warning
Performance warning adjustments
2025-07-15 07:33:02 +02:00
hashcat-bot
d87ea67f2e
Merge pull request #3961 from PenguinKeeper7/alias-warning-quiet
Make skipped device warning respect --quiet
2025-07-15 07:31:09 +02:00
hashcat-bot
f096aad548
Merge branch 'master' into alias-warning-quiet 2025-07-15 07:30:48 +02:00
hashcat-bot
5d45e964b0
Merge pull request #3968 from e-lliot/master
Update token lenght in module_20711.c (AuthMe)
2025-07-15 07:23:05 +02:00
hashcat-bot
0926b861d5
Removed TOKEN_ATTR_OPTIONAL_ROUNDS because there's no code handling optional rounds in decoder 2025-07-15 07:22:47 +02:00
hashcat-bot
ca87b1008c
Merge pull request #3945 from ventaquil/code-cleanup-veracrypt
VeraCrypt code cleanup
2025-07-15 07:18:36 +02:00
hashcat-bot
fc345c727c
Merge pull request #4334 from matrix/edge_backend_update
Update edge, backend, inc_rp_optimized
2025-07-15 07:11:20 +02:00
Gabriele Gristina
8f389bb205
Fix the same Apple Intel bug with Metal on inc_rp_optimized, this time on Apple Silicon 2025-07-15 02:06:35 +02:00
Gabriele Gristina
fd6f87062f
add missing user_options assignment on get_opencl_kernel_wgs() 2025-07-15 01:51:50 +02:00
Gabriele Gristina
9c69d320e3
Update edge and backend
On backend.c
- Hide 'Runtime returned CL_KERNEL_WORK_GROUP_SIZE ...' with --machine-readable
On test_edge.sh
- Skip attack types other than Straight with hash types with attack exec outside kernel by default
- Override the previous skip with --allow-all-attacks options
- Fix inconsistent error messages
- Add attack exec filter with -A
- Skip output check for hash-types 14000, 14100 and 22000
- Add execution time at the end of tests
- Add errors counter and show a message at the end of tests
2025-07-15 01:47:28 +02:00
hashcat-bot
11a3d0cc74
Merge pull request #3966 from Xeonacid/patch-1
Fix bash completion install
2025-07-14 20:54:19 +02:00
hashcat-bot
9c3f5cf19d
Merge pull request #3980 from PenguinKeeper7/Raise-Bitwarden-Iteration-Cap
Raise Bitwarden Iteration Limit
2025-07-14 20:47:44 +02:00
Jens Steube
3eb94884fe Fixed multihash cracking for Citrix NetScaler (PBKDF2-HMAC-SHA256).
When reusing kernels, tmp and esalt structure must match.
Renamed -m 10910 to 33900
Added unit test for -m 33900
2025-07-14 20:40:54 +02:00
hashcat-bot
813b52f5f1
Merge pull request #3984 from stumblebot/master
Added hash-mode: Citrix NetScaler (PBKDF2-HMAC-SHA256)
2025-07-14 20:24:50 +02:00
hashcat-bot
2159f73b11
Merge pull request #4333 from matrix/fix_apple_intel_rp_apple_metal_parallel_comp
Fixed bug in inc_rp_optimized.cl on Apple Intel with Metal
2025-07-14 20:10:37 +02:00
Gabriele Gristina
f39f7cc877
cleanup 2025-07-14 16:09:09 +02:00