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
90291d028e
Merge pull request #4312 from Chick3nman/skip-limit-message
Update error when using --skip/--limit in an invalid attack config
2025-07-11 19:53:23 +02:00
Jens Steube
d7fb2ffa06 Fixed both a false positive and a false negative in -m 21800. Previously,
only the first hash in a multihash list was marked as cracked, regardless
of which hash was actually cracked. For example, if the second hash was
cracked, it incorrectly marked the first as cracked and left the second
uncracked. This issue only affected beta versions and only in multihash
cracking mode.

Added deep-comp kernel support for Kerberos modes 28800 and 28900,
enabling multihash cracking for the same user in the same domain, even if
the password was changed or the recording was bad.

Added a rule ensuring that device buffer sizes for password candidates,
hooks, and transport (tmps) must be smaller than 1/4 of the maximum
allocatable memory. If not, hashcat now automatically reduces kernel-accel
down to 1, then halves the number of threads and restores kernel-accel up
to its maximum, repeating until the size requirement is met.

Fixed salt length limit verification for -m 20712.

Fixed password length limit for -m 14400.

Fixed unit test salt generator for -m 21100, which could produce duplicate
hashes under certain conditions.

Added the OPTS_TYPE_NATIVE_THREADS flag to the following hash modes
(after benchmarking): 7700, 7701, 9000, 1375x, 1376x, 14800, 19500, 23900.
2025-07-11 15:02:58 +02:00
Jens Steube
f5fe1ad191
Merge pull request #4314 from fse-a/argon2-cpu-support
Add CPU support for argon2 (34000)
2025-07-11 14:38:27 +02:00
Chick3nman
c2c8561702 Enhancement: Set benchmark to true if --benchmark-all is passed 2025-07-11 06:06:41 -05:00
Chick3nman
fb9ea5d642 Update error when using --skip/--limit in an invalid attack configuration 2025-07-11 05:52:38 -05:00
Ewald Snel
e61066f10b Added CPU support for argon2 (34000 plugin).
- Used blake2b_transform() instead of blake2b_update() to avoid compiler problems
   on Intel OpenCL and segfaults on POCL (still unsure of exact cause but possibly
   related to the shuffle functions in combination with these OpenCL drivers).
 - Remove 'bug' comments (these are resolved now).
 - Added implementation of 'argon2_hash_block()' for non-warped (CPU) case.
 - Introduced 'LBLOCKSIZE' for the size of an argon2 block per thread in u64.
   Most of the code should now be able to support any warp/wavefront size.
2025-07-11 11:20:59 +02:00
Jens Steube
d9d57fc9a0 Fixed autotune edge case and encoder bugs
Improved handling of an autotune edge case. In theory, increasing
accel early can improve accuracy, and it does, but it also prevents
increasing the thread count because it's more likely to run into
high runtime limits. OTOH, we want to prioritize threads over accel.

This change may slightly reduce performance for algorithms that
benefit from high accel and low thread counts (e.g., 7800, 14900),
but those can be managed by limiting thread count or, preferably,
by setting OPTS_TYPE_NATIVE_THREADS.

Added OPTS_TYPE_NATIVE_THREADS to 7800, 7810, and 14900.

Also fixed encoder bugs in hash-mode 29920 and 29940, identified
using the new test_edge.sh script. The encoders in the modules
failed to properly terminate the output string.
2025-07-11 10:08:08 +02:00
hashcat-bot
773531d6eb
Merge pull request #4130 from PenguinKeeper7/gz-corruption-handling
Gracefully handle corrupt .gz archives
2025-07-11 08:02:22 +02:00
hashcat-bot
11677e218e
Merge pull request #4307 from PenguinKeeper7/electrum-fix
Search for more Electrum prv key prefixes
2025-07-11 07:45:48 +02:00
hashcat-bot
385affe5c4
Merge pull request #4308 from matrix/hide_msg_mach
show some warnings only if quiet and machine_readable options are set to false
2025-07-11 07:42:08 +02:00
hashcat-bot
d82056dbe6
Merge pull request #4309 from matrix/constaints_400
fix module_constraints (Optimized-Mode-PW-Constraints) for -m 400
2025-07-11 07:41:21 +02:00
hashcat-bot
53403f429d
Merge pull request #4310 from matrix/fix_3100
fix min salt (username) len with hash-mode 3100
2025-07-11 07:41:00 +02:00
hashcat-bot
bb5500f264
Merge pull request #4311 from matrix/apple_silicon_makefile
fix bug on Makefile with detection of Apple Silicon systems
2025-07-11 07:40:41 +02:00
Gabriele Gristina
1d4d9db45b
fix bug on Makefile with detection of Apple Silicon systems 2025-07-11 00:53:06 +02:00
Gabriele Gristina
6200d3cc59
fix min salt (username) len with hash-mode 3100 2025-07-10 23:25:03 +02:00
Gabriele Gristina
a5fd16d9cd
fix module_constraints (Optimized-Mode-PW-Constraints) for -m 400 2025-07-10 23:10:04 +02:00
Gabriele Gristina
278dac2dd3
show some warnings only if quiet and machine_readable options are set to false 2025-07-10 22:41:20 +02:00
PenguinKeeper7
d4cefed0a7 Search for more Electrum prv key prefixes 2025-07-10 21:24:44 +01:00
hashcat-bot
e90e158cb0
Merge pull request #3952 from its5Q/master
Add dynamic iteration count support for hashmodes 26600 and 26610 (Metamask)
2025-07-10 21:23:49 +02:00
hashcat-bot
dc88b51565
Merge pull request #3928 from philsmd/year_change_2024
update license year to 2024
2025-07-10 21:21:29 +02:00
hashcat-bot
2532b83c22
Update license.txt 2025-07-10 21:21:14 +02:00
hashcat-bot
4cdda7c208
Merge pull request #4139 from zyronix/feature/keybag2hashcat
Adding keybag2hashcat.py script
2025-07-10 21:16:21 +02:00
Jens Steube
a8bafcc64e
Merge pull request #4076 from holly-o/master
Added bitlocker2hashcat.py
2025-07-10 21:12:30 +02:00
Jens Steube
5d62c9fe73
Merge pull request #4158 from holly-o/apfs2hashcat_pr
Add apfs2hashcat.py
2025-07-10 21:07:41 +02:00
hashcat-bot
5e6e359f84
Merge pull request #4299 from matrix/term_Makefile
move includes from terminal.c to terminal.h, hide build warnings on unrar when using clang
2025-07-10 18:49:34 +02:00
hashcat-bot
1cc2d435dc
Merge pull request #4304 from matrix/test_edge
Introduced the 'edge' test type in test.pl along with its corresponding tool, test_edge.sh
2025-07-10 18:48:56 +02:00
hashcat-bot
3981f284af
Merge pull request #4300 from Oblivionsage/fix-xz-seek-todo
Fix XZ file seek operation in hc_fseek()
2025-07-10 18:46:37 +02:00
hashcat-bot
c63b810e86
Merge pull request #4301 from matrix/fix_33800
fix build errors with 33800
2025-07-10 18:45:13 +02:00
hashcat-bot
3085addca0
Merge pull request #4302 from matrix/fix_32500
fix build errors with 32500 on Metal
2025-07-10 18:44:32 +02:00
hashcat-bot
ff76cdc3e7
Merge pull request #4303 from matrix/fix_32700
fix build errors with 32700 on Metal
2025-07-10 18:43:59 +02:00
hashcat-bot
f199b8238b
Merge pull request #4306 from Chick3nman/json-fix
JSON device_id formatting fix
2025-07-10 18:43:27 +02:00
Jens Steube
06344910a4 Refactored HIP kernel code for improved performance and cleanup
- Replaced inline asm in hc_byte_perm() with __builtin_amdgcn_perm()
- Replaced inline asm in hc_bytealign() with __builtin_amdgcn_alignbyte()
- Defined HC_INLINE as default for HIP, significantly boosting kernel performance of pure kernels
- Removed IS_ROCM from inc_vendor.h as it's no longer needed
- Removed backend-specific code from several hash-modes and inc_rp_optimized.cl, as hc_bytealign_S() is now available on all backends
2025-07-10 13:31:00 +02:00
Chick3nman
e4daa498a3 Fix typo in changes.txt 2025-07-10 05:40:47 -05:00
Chick3nman
238110cd04 Fix JSON Integer formatting 2025-07-10 05:39:10 -05:00
Gabriele Gristina
c780d36d4b
updated credits.txt 2025-07-09 23:31:17 +02:00
Gabriele Gristina
5a5824ea59
Introduced the 'edge' test type in test.pl along with its corresponding tool, test_edge.sh
Hashcat is evolving, both in its core and in the supported algorithms.
To uncover bugs in the code, I implemented edge case testing to verify the settings defined in the specific algorithm test modules (e.g., m00000.pm), as well as the behavior of the kernels (pure and optimized) in relation to the different attack modes (-a0, -a1, etc.).
2025-07-09 23:19:49 +02:00
Gabriele Gristina
3ed45d4e83
fix build errors with 32700 on Metal 2025-07-09 22:37:59 +02:00
Gabriele Gristina
3d6ebd00b7
fix build errors with 32500 on Metal 2025-07-09 22:34:05 +02:00
Gabriele Gristina
a590ce8351
fix build errors with 33800 2025-07-09 22:19:02 +02:00
oblivionsage
0f51dc6d4b Fix XZ file seek operation in hc_fseek()
- Implement missing XZ file seeking functionality
- Support SEEK_SET with offset 0 (rewind operation)
- Return error for unsupported arbitrary seek operations
- Follows existing gfp/ufp implementation pattern
- Resolves TODO comment on line 582 in src/filehandling.c
- Code complies with all hashcat style requirements
2025-07-09 20:08:01 +02:00
Gabriele Gristina
3d28985f6b
move includes from terminal.c to terminal.h, hide build warnings on unrar when using clang 2025-07-09 17:41:14 +02:00
Jens Steube
5ffbc5edc4
Merge pull request #4123 from PenguinKeeper7/metamask-false-positive
Raise Metamask false positive rate
2025-07-09 16:15:55 +02:00
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
23a1d30fcc
Fixed parameter code 2025-07-09 15:07:17 +02:00
hashcat-bot
8293c85b30
Merge branch 'master' into banderlog-patch-1 2025-07-09 15:02:31 +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
PenguinKeeper7
b8a1d872ac Remove unlock on destroy of debugfile 2025-07-09 13:49:46 +01: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