1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-19 13:08:19 +00:00
Commit Graph

9893 Commits

Author SHA1 Message Date
hashcat-bot
d1b36ea184
Merge pull request #4154 from unix-ninja/master
Add gitea2hashcat.py
2025-07-09 15:59:07 +02:00
Jens Steube
02a439ce02 Fix compile error on MSYS2 console 2025-07-09 15:54:03 +02:00
hashcat-bot
ad17d36270
Merge pull request #4294 from Oblivionsage/fix-terminal-todo-investigation
Fix terminal TODO: Implement Windows system info display
2025-07-09 15:01:19 +02:00
hashcat-bot
029a79fced
Merge pull request #4055 from flaggx1/feature_increase_custom_charsets
Increase custom charsets to 8
2025-07-09 14:30:21 +02:00
hashcat-bot
46b2fc2b82
Merge branch 'master' into feature_increase_custom_charsets 2025-07-09 14:30:08 +02:00
hashcat-bot
7965e85dd6
Merge pull request #4211 from technion/vmxregex
Syntax error from vmwarevmx2hashcat
2025-07-09 10:38:59 +02:00
hashcat-bot
5605a5e172
Merge pull request #4140 from PenguinKeeper7/Salt-UX-Fix
Improve salt length reporting in hashconfig
2025-07-09 10:28:39 +02:00
hashcat-bot
91d828fbd2
Merge pull request #4098 from matrix/fix_bitmap-max
User Options: limit --bitmap-max value to 31
2025-07-09 10:27:49 +02:00
hashcat-bot
b5b0dd7266
Merge branch 'master' into fix_bitmap-max 2025-07-09 10:27:37 +02:00
hashcat-bot
04b8eb27a4
Merge pull request #4099 from matrix/fix_stdout_race-conditions
Fixed bug in --stdout when multiple computing devices are active
2025-07-09 10:14:26 +02:00
hashcat-bot
570f5d9c90
Merge branch 'master' into fix_stdout_race-conditions 2025-07-09 10:14:15 +02:00
hashcat-bot
1a0d663c11
Merge pull request #4102 from matrix/show-restore-segfault
do not allow --show and --restore
2025-07-09 09:51:41 +02:00
hashcat-bot
53ea022b5a
Merge pull request #4111 from matrix/modules_unstable_warning-update
Modules: Added module_unstable_warning for 22500, update module_unstable_warning for 10700
2025-07-09 09:51:11 +02:00
hashcat-bot
0dffb1953b
Merge branch 'master' into modules_unstable_warning-update 2025-07-09 09:50:59 +02:00
hashcat-bot
c4c01868d0
Merge pull request #4103 from matrix/stdout_slow-candidates
do not allow --stdout and --slow-candidates
2025-07-09 09:50:09 +02:00
hashcat-bot
71e3c87e01
Merge pull request #4264 from DhruvTheDev1/patch-4
Fix: correct typo and "Hashcat" to "hashcat"
2025-07-09 09:47:28 +02:00
hashcat-bot
4654eccbc4
Merge pull request #4265 from DhruvTheDev1/patch-5
Update hashcat-assimilation-bridge.md
2025-07-09 09:47:00 +02:00
hashcat-bot
470954de71
Merge pull request #4296 from matrix/argon2_metal_moreStable
got stable cracking with argon2 on Apple Metal
2025-07-09 09:46:07 +02:00
hashcat-bot
b5856d793c
Merge pull request #4149 from Sc00bz/totp
Added support for multiple TOTP codes
2025-07-09 09:44:43 +02:00
Jens Steube
290360ee55 Merge PR #4189 with minor edits 2025-07-09 09:14:21 +02:00
luke
5f41bfa3f4 Updated to latest hashcat base 2025-07-09 09:14:09 +02:00
Jens Steube
c4c4a9fdc5 Merge PR #4194 2025-07-09 09:10:33 +02:00
Gabriele Gristina
adbf9d175b
using simd_shuffle on Apple Metal for argon2 2025-07-09 08:16:00 +02:00
Gabriele Gristina
5210ccd50d
got more stable cracking with argon2 on Apple Metal 2025-07-08 22:44:23 +02:00
Jens Steube
853b149561 Argon2: add early support for multihash mixed mode cracking
This commit introduces initial support for mixed mode multihash cracking
in Argon2. Although I was skeptical at first, the final solution turned
out better than expected with only a minimal speed loss (1711H/s ->
1702H/s).

Unit tests have been updated to generate random combinations of
Argon2-I/D/ID with randomized m, t, and p values. So far, results look
solid.

Note: This is a complex change and may have undiscovered edge cases.

Some optimization opportunities remain. JIT-based optimizations are not
fully removed. We could also detect single-hash scenarios at runtime
and disable self-tests to re-enable JIT. Currently, the kernel workload
is sized based on the largest hash to avoid out-of-bound memory access.
2025-07-08 20:46:16 +02:00
oblivionsage
0dc26a18e4 Address review feedback: Remove redundant ternary checks
- Remove redundant 'rc_version ? release_buf : "N/A"' checks
- Use release_buf directly since it's already initialized with "N/A"
- Addresses feedback from @ventaquil in PR review
2025-07-08 15:04:05 +02:00
Jens Steube
91d51b0df2
Merge pull request #4270 from roycewilliams/master
show max length in Kernel.Feature status
2025-07-08 13:25:16 +02:00
Jens Steube
b98d5d5f8a Fixed out-of-boundary read for -a 9 when using the new OPTS_TYPE_THREAD_MULTI_DISABLE parameter. This only affected Argon2.
Fixed compiler warnings in inc_hash_argon2.cl.
Moved argon2_tmp_t and argon2_extra_t typedefs from argon2_common.c back to the module to allow plugin developers to modify them when using Argon2 as a primitive.
Slightly improved autotune behavior for edge cases such as 8700 and 18600, where some algorithms started with theoretical excessively high value, leaving no room for proper tuning.
Removed argon2_module_kernel_threads_min() and argon2_module_kernel_threads_max() from argon2_common.c. Switched to using OPTS_TYPE_NATIVE_THREADS instead. Plugin developers can still use it. This simplifies CPU integration, as CPUs typically run with a single thread.
Updated plugins 15500 and 20510. Added a thread limit to prevent autotune from selecting an excessively high thread count. The issue originated from the runtime returning an unrealistically high ideal thread count.
2025-07-08 13:21:10 +02:00
oblivionsage
09cc387bef Fix terminal TODO: Implement Windows system info display
- Replace hardcoded 'N/A' values with actual Windows system information
- Add GetSystemInfo() for processor architecture detection
- Add GetVersionEx() for Windows version information
- Support both machine-readable and human-readable output formats
- Follow existing Linux uname() implementation pattern
- Maintain cross-platform compatibility

Resolves TODO comment in src/terminal.c line 1257
2025-07-08 11:11:45 +02:00
Royce Williams
ca1ebc23a4 changes.txt for min/max password length display 2025-07-07 15:41:23 -08:00
Royce Williams
17e29f298a clarify Kernel.Feature: password, min-max bytes 2025-07-07 10:44:59 -08:00
Royce Williams
e6ed375658
Merge branch 'hashcat:master' into master 2025-07-07 10:39:57 -08:00
Jens Steube
615f9f2d83
Merge pull request #4283 from roycewilliams/ii-mach-mod
skip non-machine preamble if --backend_info and --machine
2025-07-07 19:59:54 +02:00
Jens Steube
cb36d337eb
Merge pull request #4290 from redongh/master
minor Python-bridge documentation related updates
2025-07-07 19:59:26 +02:00
Jens Steube
a66e667c90
Merge pull request #3724 from matrix/hashInfo2int
User Options: assigned -H to --hash-info && Hash-Info: show more details using -HH
2025-07-07 19:55:48 +02:00
Jens Steube
13a9bb300f
Merge pull request #4275 from matrix/docs_status_code
Documents: Renamed status_code.txt in exit_status_code.txt and added device_status_code.txt
2025-07-06 21:50:04 +02:00
Jens Steube
92d83eab3a
Merge pull request #4293 from matrix/one_time_init_release_ctx_cmdqueue
Added workaround to get rid of internal runtimes memory leaks + Avoid deprecated HIP functions
2025-07-06 21:37:55 +02:00
Gabriele Gristina
f663abee44
Added workaround to get rid of internal runtimes memory leaks
As of now, especially in the benchmark mode, hashcat will not go to create and destroy context and command-queue for each enabled device each time it switches from one hash-mode to the next.
Specifically using OpenCL with an NVIDIA device, it was not possible to complete the benchmark because clCreateContext has memory leaks that slowly consume all available GPU memory until hashcat can activate a new context and disable the device.

Avoid deprecated HIP functions

All hipCtx* features have been declared deprecated, so we have replaced them with the new ones, also fixing a critical bug on handling multiple AMD devices in the same system.
2025-07-06 21:28:37 +02:00
Jens Steube
0576c41491 Updated autotune to set initial values for accel, threads, and loop based on theoretical assumptions, with the idea for more accurate early results from measured test runs.
Updated autotune to use the iteration count of the first user-defined hash instead of the self-test hash for slow hash tuning, assuming consistency across the hash list.
Updated autotune to prefer best-efficiency thread count only if it is at least 6% better than the max thread count, improving consistency in thread and accel values while allowing exceptions for special modes like 18600.
Changed default theoretical free memory by applying a reduction from max memory from 20% changed to 34%/. This happens only when runtime/OS cannot provide low-level free memory data.
Applied the same logic using --backend-keep-free percentage to host memory during early setup, when hashcat auto-reduces thread and accel counts to stay within limits, and that per compute device.
Changed terminal output from "Host memory required for this attack: ..." to "Host memory allocated for this attack: ...", and added free host memory as reference.
2025-07-06 10:14:20 +02:00
Gabriele Gristina
aa10bcf80e
update remaining user_options->hash_info checks 2025-07-06 08:06:24 +02:00
Gabriele Gristina
9f3d771137
fix build error on src/user_options.c 2025-07-06 07:59:56 +02:00
Gabriele Gristina
fba89b6888
Merge branch 'master' into hashInfo2int 2025-07-06 07:54:05 +02:00
Jens Steube
db2214f755
Merge pull request #4227 from Chick3nman/totalcandidates
Add --total-candidates flag and functionality
2025-07-05 22:55:09 +02:00
Jens Steube
0df156e4c1
Merge branch 'master' into totalcandidates 2025-07-05 22:51:27 +02:00
Jens Steube
9457c62ef0 Removed redundant casts in inc_hash_blake2b.cl and inc_hash_blake2s.cl.
Fixed parameter types in inc_hash_blake2b.cl and inc_hash_blake2s.cl for FINAL value.
Added kernel code for -m 15400 to s04/s08/m04/m08, even if not needed, to help autotune find optimal workitem settings.
Fixed a rare autotune case (e.g. in mode 18600) where threads_min was not a multiple of kernel_preferred_wgs_multiple, and changes it so that as long as it only threads_min is affected and not threads_max, we now ensure at least kernel_preferred_wgs_multiple.
Improved autotune logic for best thread count: double thread count until reaching the device's preferred multiple, then increase in steps of that multiple while comparing efficiency vs. runtime, and select the configuration with best efficiency, not highest thread count.
Always set funnelshift support to true for HIP devices, as it always reports false.
Set minimum loop count to 250 for all VeraCrypt modes with PIM brute-force support.
2025-07-05 19:44:31 +02:00
red
381b2cac67
Update BUILD_WSL.md
Bump version of mingw-w64-x86_64-python-3.12.XX-X-any.pkg.tar.zst to latest.
2025-07-05 00:36:01 +02:00
red
d2656e376d
Update hashcat-python-plugin-development-guide.md
clarify location of custom Python scripts to be run without creating a dedicated module.
2025-07-05 00:30:39 +02:00
Jens Steube
d3983edaf2 Improved handling in get_opencl_kernel_wgs()
There are cases where we fix the thread count in a kernel using
FIXED_LOCAL_SIZE, but when the runtime loads the kernel binary, it
reports that it can only execute it with a different thread count.
According to the OpenCL specification, this can happen due to register
pressure.

However, we fix the thread count for a specific reason, and we choose to
accept potential register spilling to global memory. A warning is now
issued to inform the user about the runtime's suggested thread count,
allowing them to override it via the command line if they encounter
issues.

Also fixed the thread count for -m 10700 on NVIDIA's OpenCL, where 4
bytes are always lost for an unknown reason (similar to the issue seen
in bcrypt).
2025-07-04 21:51:32 +02:00
Jens Steube
6150fd5d37
Merge branch 'master' into totp 2025-07-04 21:30:33 +02:00
Jens Steube
7ec73877fa
Merge pull request #4287 from matrix/improve_metal
Updates on Metal Backend, Makefile, Unit tests and Argon2
2025-07-04 10:26:46 +02:00