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

1257 Commits

Author SHA1 Message Date
Gabriele Gristina
81a4b7f38c
get rid of Text:Iconv, handle 31500 and 31600 in test_edge.sh 2025-07-19 03:32:08 +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
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
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
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
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
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
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
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
ca87b1008c
Merge pull request #3945 from ventaquil/code-cleanup-veracrypt
VeraCrypt code cleanup
2025-07-15 07:18:36 +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
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
Jens Steube
51e47daa1d Fix detection of argon2 kernel_accel_new. Ensure user-defined -n value does not exceed available memory; reduce it if necessary. On devices with unified memory (iGPU), only half of the memory is made available.
Improve unit test for -m 8300. In optimized mode, allow longer passwords, domain names, and salts. In both optimized and pure modes, ensure the domain name does not exceed 63 characters.
Fix SNMPv3 unit test to produce passwords of at least 8 characters, as required by RFC 3414.
Fix file permissions in tools/ folder.
2025-07-14 11:30:21 +02:00
hashcat-bot
ca16c3b972
Merge pull request #4090 from jkramarz/mojolicious
Add support for Mojolicious session cookies
2025-07-13 18:36:42 +02:00
hashcat-bot
ec6a8b5f81
Merge pull request #4017 from fin3ss3g0d/master
Add Apache Shiro 1 algorithm (12150)
2025-07-13 15:24:54 +02:00
hashcat-bot
4a6b538b43
Merge pull request #4331 from matrix/edge_skip_errors
Update test_edge.sh
2025-07-12 22:42:06 +02:00
hashcat-bot
140fc1dae9
Merge pull request #4330 from matrix/fix_600
fix module_constraints for -m 600
2025-07-12 22:41:35 +02:00
hashcat-bot
fb70746f5f
Merge pull request #4329 from matrix/install_modules
Unit tests: Updated install_modules.sh
2025-07-12 22:41:16 +02:00
Gabriele Gristina
253268d11e
get rid of php from unit tests 2025-07-12 20:22:15 +02:00
Gabriele Gristina
7b46921ce7
add workaround for Net::SSLeay on Apple 2025-07-12 20:10:27 +02:00
Gabriele Gristina
1cc8ed779e
get rid of Crypt::GCrypt 2025-07-12 20:00:43 +02:00
Gabriele Gristina
e8686b3e3e
Update tools/install_modules.sh: force install/update Digest::BLAKE2 2025-07-12 19:32:09 +02:00
Gabriele Gristina
638aaa902a
Update tools/install_modules.sh: using bash instead of sh, fix unclosed double quote 2025-07-12 19:28:29 +02:00
Gabriele Gristina
63377a9890
Update tools/install_modules.sh: make pyenv works with Apple Intel, use pycryptodome instead of pycrypto, add missing Module::Build::Pluggable::XSUtil 2025-07-12 19:18:37 +02:00
Gabriele Gristina
5da3a70b05
edge: skip deprecated hashes, reformat error, unset SKIP_HASH_TYPES SKIP_HASH_TYPES_METAL SKIP_METAL_SCRYPT SKIP_OUT_MATCH_HASH_TYPES 2025-07-12 17:45:17 +02:00
Gabriele Gristina
99e850ac15
fix module_constraints for -m 600 2025-07-12 17:33:23 +02:00
Gabriele Gristina
b5202e4be6
add pyenv usage to install python3 deps inside virtualenv 2025-07-12 17:16:00 +02:00
Gabriele Gristina
bfa5b3e610
Unit tests: Updated install_modules.sh to use an external package for pygost, due to not available anymore 2025-07-12 14:57:40 +02:00
Gabriele Gristina
08d84f5f90
Unit tests: Updated install_modules.sh to use cpanm instead of cpan 2025-07-12 14:21:18 +02:00
Jens Steube
2ac3fd2053
Merge pull request #4080 from lakiw/4079-radmin3_to_hashcat
Updated radmin3_to_hashcat.pl to support multiple users
2025-07-12 14:16:10 +02:00
Gabriele Gristina
7376f36c02
Merge branch 'master' into fix_1800_Apple 2025-07-12 13:01:38 +02:00
Gabriele Gristina
c6c87d2cb2
Unit tests: Updated install_modules.sh with Crypt::Passwd::XS, to test suite works also on Apple (ex: 1800) 2025-07-12 12:55:06 +02:00
Gabriele Gristina
3f79a20429
Unit tests: Updated install_modules.sh to use an external module for Digest::BLAKE2, due to maintenance being discontinued 2025-07-12 12:22:40 +02:00
hashcat-bot
56dd7f7e2b
Merge pull request #4325 from matrix/fix_31000
Fixed bug in module_constraints for hash-mode 31000
2025-07-12 10:45:39 +02:00
Gabriele Gristina
f3adb3c318
Fixed bug in module_constraints for hash-mode 31000 2025-07-12 08:54:15 +02:00
hashcat-bot
6eb6ca96c3
Merge pull request #4323 from matrix/fix_15000
Fixed bug in module_constraints for hash-mode 15000
2025-07-12 06:57:54 +02:00
hashcat-bot
f7161e010c
Merge pull request #4322 from matrix/fix_11100
Fixed bug in module_constraints for hash-mode 11100
2025-07-12 06:57:40 +02:00
hashcat-bot
a69e15d0c7
Merge pull request #4321 from matrix/fix_10100
Fixed bug in module_constraints for hash-mode 10100
2025-07-12 06:57:20 +02:00
hashcat-bot
22baf292fe
Merge pull request #4320 from matrix/fix_8700
Fixed bug in module_constraints for hash-mode 8700
2025-07-12 06:57:06 +02:00
hashcat-bot
900bd0b74e
Merge branch 'master' into fix_7801 2025-07-12 06:56:20 +02:00
hashcat-bot
88b007f59a
Merge pull request #4318 from matrix/fix_7800
Fixed bug in module_constraints and kernel for hash-mode 7800
2025-07-12 06:55:31 +02:00
Gabriele Gristina
ddf99ca69d
Fixed bug in module_constraints for hash-mode 15000 2025-07-12 02:39:31 +02:00
Gabriele Gristina
84cc247fc6
Fixed bug in module_constraints for hash-mode 11100 2025-07-12 02:20:53 +02:00
Gabriele Gristina
9806b7d615
Fixed bug in module_constraints for hash-mode 10100 2025-07-12 02:07:17 +02:00
Gabriele Gristina
4567acd5f0
Fixed bug in module_constraints for hash-mode 8700 2025-07-12 01:59:45 +02:00
Gabriele Gristina
dc3418eaa4
Fixed bug in module_constraints and kernel for hash-mode 7801 2025-07-12 01:49:22 +02:00
Gabriele Gristina
dbd41ca750
Fixed bug in module_constraints and kernel for hash-mode 7800 2025-07-12 01:35:25 +02:00