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

10185 Commits

Author SHA1 Message Date
hashcat-bot
6cbe5d0ff5
Merge pull request #4346 from matrix/core_update_1
Update core
2025-07-19 11:50:30 +02:00
Gabriele Gristina
6878234480
restore API's original functions and move checks to new *Ptr functions. Restore original hcstrdup function. 2025-07-19 11:35:11 +02:00
hashcat-bot
920e9ed70e
Merge pull request #3533 from hlein/hashcat-tools-install
Promote tools/*2hashcat.p[ly] to be installed alongside hashcat
2025-07-19 10:54:28 +02:00
Jens Steube
58704f926e
Merge branch 'master' into hashcat-tools-install 2025-07-19 10:47:58 +02:00
hashcat-bot
e76b31e6bf
Merge pull request #4347 from matrix/perl_TextIconv
get rid of Text:Iconv, handle 31500 and 31600 in test_edge.sh
2025-07-19 08:25:34 +02:00
Gabriele Gristina
81a4b7f38c
get rid of Text:Iconv, handle 31500 and 31600 in test_edge.sh 2025-07-19 03:32:08 +02:00
Gabriele Gristina
5d3426adff
Update changes.txt 2025-07-19 02:28:58 +02:00
Gabriele Gristina
a1e811b282
manually set CUDA and HIP functions to NULL. Set '-g' to build_options only with HIP and OpenCL 2025-07-19 02:17:36 +02:00
Gabriele Gristina
d943489404
Update core
in the following functions I changed the type for the parameter used to specify the target of the operation:

- hc_clReleaseMemObject
- hc_clReleaseKernel
- hc_clReleaseProgram
- hc_cuModuleUnload
- hc_cuMemFree
- hc_cuStreamDestroy
- hc_cuEventDestroy
- hc_hipEventDestroy
- hc_hipMemFree
- hc_hipModuleUnload
- hc_hipStreamDestroy
- hc_mtlReleaseMemObject
- hc_mtlReleaseFunction
- hc_mtlReleaseLibrary

With this change, it was possible to remove several lines of code from backend.c, making it more readable.
2025-07-19 01:03:43 +02:00
hashcat-bot
fcd98d8f59
Merge pull request #4344 from matrix/metal_core_update_1
update Metal implementation and fix module 30601
2025-07-18 22:12:28 +02:00
hashcat-bot
3973ec9245
Merge pull request #4345 from matrix/debug_more
Debug: Added -g to build_options if DEBUG >= 1 and not on Apple
2025-07-18 22:04:36 +02:00
hashcat-bot
59c2086b8b
Merge pull request #4343 from PenguinKeeper7/parallelism-communication
Improve small base loop communication
2025-07-18 22:04:16 +02:00
Jens Steube
bb27771c06 Fix -m 14200 when used in -D1 mode
Update -m 30601 module and kernel to latest hashcat base
2025-07-18 21:53:59 +02:00
Gabriele Gristina
2e542e42cc
Debug: Added -g to build_options if DEBUG >= 1 and not on Apple 2025-07-18 21:12:59 +02:00
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
PenguinKeeper7
53e891715f Tell the user how many base words Hashcat wants 2025-07-18 16:11:35 +01: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