1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-31 02:48:50 +00:00
Commit Graph

1540 Commits

Author SHA1 Message Date
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
Gabriele Gristina
fba89b6888
Merge branch 'master' into hashInfo2int 2025-07-06 07:54:05 +02:00
Jens Steube
0df156e4c1
Merge branch 'master' into totalcandidates 2025-07-05 22:51:27 +02:00
Gabriele Gristina
bcc351068f
Metal Backend:
- added support to 2D/3D Compute
- improved compute workloads calculation
Makefile:
- updated MACOSX_DEPLOYMENT_TARGET to 15.0
Unit tests:
- updated install_modules.sh with Crypt::Argon2

Argon2 start works with Apple Metal
2025-07-03 22:06:32 +02:00
Jens Steube
5c1ae6a1f6
Merge pull request #4273 from matrix/backend_ctx_devices_init_splitted
Backend: Splitting backend_ctx_devices_init into smaller runtime-specific functions
2025-07-01 20:24:43 +02:00
Gabriele Gristina
841cd8400d
Merge branch 'master' into fix_stdout_race-conditions 2025-06-30 13:43:11 +02:00
Gabriele Gristina
3b12c6b79d
Merge branch 'master' into hashInfo2int 2025-06-30 13:42:29 +02:00
Gabriele Gristina
cbb92d4897
Merge branch 'master' into hwmon_ctx_init_split 2025-06-30 13:40:46 +02:00
Gabriele Gristina
f848163b0a
Fixed race condition in selftest_init on OpenCL with non-blocking write 2025-06-29 23:08:43 +02:00
Gabriele Gristina
1978231c88
- Fixed bug in Hardware Monitor: prevent disable if ADL fail
- Hardware Monitor: Splitting hwmon_ctx_init function into smaller library-specific functions
2025-06-29 22:51:08 +02:00
Gabriele Gristina
161f00b9de
Documents: Renamed status_code.txt in exit_status_code.txt and added device_status_code.txt 2025-06-29 19:07:33 +02:00
Gabriele Gristina
ca71119968
Selftest: rename selftest function to process_selftest and splitting into 3 smaller functions 2025-06-29 16:59:39 +02:00
Jens Steube
c59d3b8f34
Merge pull request #4271 from matrix/backend_info_machine_readable
Backend Info: Added --machine-readable format
2025-06-29 14:58:49 +02:00
Gabriele Gristina
7e2c65cc98
Backend: Splitting backend_ctx_devices_init into smaller runtime-specific functions 2025-06-29 13:28:31 +02:00
Gabriele Gristina
904da431ae
Merge remote-tracking branch 'upstream/master' into hashInfo2int 2025-06-28 11:13:45 +02:00
Gabriele Gristina
92b2f996b2
update docs/changes.txt 2025-06-28 10:45:24 +02:00
Gabriele Gristina
158dbaaab1
Merge remote-tracking branch 'upstream/master' into rule_purgeclass 2025-06-27 00:02:07 +02:00
Gabriele Gristina
101096a7c7
Merge remote-tracking branch 'upstream/master' into modules_unstable_warning-update 2025-06-26 22:21:49 +02:00
Gabriele Gristina
db82714d3f
Merge remote-tracking branch 'upstream/master' into issue_3652_v2 2025-06-26 22:05:53 +02:00
Gabriele Gristina
a5e472c12e
Merge remote-tracking branch 'upstream/master' into issue_4191 2025-06-26 21:43:40 +02:00
Gabriele Gristina
a3afca56b8
Merge remote-tracking branch 'upstream/master' into ripemd320 2025-06-26 21:37:40 +02:00
Jens Steube
13f48e563d
Merge pull request #4109 from matrix/makefile-clangIdentification
Fixed clang identification in src/Makefile
2025-06-22 20:29:50 +02:00
Jens Steube
f9d33a5729
Merge pull request #4104 from matrix/tuningdb_memoryLeaks
Fixed memory leaks in tuning_db_init in tuningdb.c
2025-06-13 13:01:58 +02:00
Jens Steube
fc7b1c5e16
Merge pull request #4101 from matrix/pkzip_stack-buffer-overflow
Fixed stack buffer overflow in PKZIP modules (17200, 17210, 17220, 17225, 17230)
2025-06-13 12:59:46 +02:00
Jens Steube
4246345950
Merge pull request #4249 from matrix/metal_device_alias
Alias Devices: Prevents hashcat, when started with x86_64 emulation on Apple Silicon, from showing the Apple M1 OpenCL CPU as an alias for the Apple M1 Metal GPU
2025-06-11 11:02:08 +02:00
Gabriele Gristina
1096d961a1
Backend: Updated filename chksum format to prevent invalid cache on Apple Silicon when switching arch 2025-06-10 23:19:12 +02:00
Gabriele Gristina
ef8223b17a
Alias Devices: Prevents hashcat, when started with x86_64 emulation on Apple Silicon, from showing the Apple M1 OpenCL CPU as an alias for the Apple M1 Metal GPU 2025-06-10 21:49:21 +02:00
Gabriele Gristina
86c8323ae2 Added hash-mode: Microsoft Online Account (PBKDF2-HMAC-SHA256 + AES256) 2025-06-08 21:39:29 +02:00
Gabriele Gristina
12f1fe56aa OpenCL Backend: added workaround to set device_available_memory from CUDA/HIP alias device 2025-06-07 20:22:01 +02:00
Gabriele Gristina
378abf6957 Metal Backend: added workaround to set the true Processor value in Metal devices on Apple Intel 2025-06-07 17:52:34 +02:00
Jens Steube
d60658102b Added option --backend-devices-keepfree to configure X percentage of device memory available to keep free 2025-06-04 10:13:29 +02:00
Gabriele Gristina
70825ebac4 Added sse2neon to fix compile errors on macOS for custom hashcat codes on phc-winner-argon2 2025-05-30 21:57:05 +02:00
Chick3nman
310e9ee79a Add --total-candidates flag and functionality 2025-05-30 14:13:43 -05:00
Gabriele Gristina
4788e6d869
Merge branch 'master' into makefile-clangIdentification 2025-05-30 07:58:19 +02:00
Jens Steube
bce5e1a332
Merge pull request #4188 from matrix/hc_decompress_rar_fp
Modules: Check UnpackSize to raise false positive with hc_decompress_rar
2025-05-27 19:45:49 +02:00
Gabriele Gristina
31a19b9acf Added hash-modes: RIPEMD-320, HMAC-RIPEMD320 (key = $pass), HMAC-RIPEMD320 (key = $salt) 2025-05-26 20:28:13 +02:00
Jens Steube
40365a32d0
Merge pull request #4195 from matrix/issue_4175
Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951)
2025-05-24 16:29:26 +02:00
Gabriele Gristina
0518b29e19
Merge branch 'master' into makefile-clangIdentification 2025-05-24 10:49:00 +02:00
Gabriele Gristina
b2e6bed511
Merge branch 'master' into modules_unstable_warning-update 2025-05-24 10:46:08 +02:00
Jens Steube
a27fc23a14
Merge pull request #4110 from matrix/fix_AppleSilicon_swap64
Update PR #3735
2025-05-24 10:23:50 +02:00
Jens Steube
686c2ac078
Merge pull request #4199 from matrix/resurrect_PR_2561
Added hash-mode: BestCrypt v4 Volume Encryption
2025-05-19 13:57:14 +02:00
Jens Steube
b9938f34d6
Merge pull request #4201 from matrix/RC4_KPA
Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN
2025-05-18 20:39:24 +02:00
Jens Steube
28c22ea397
Merge pull request #4208 from matrix/module_unstable_warning_update
Modules: Updated module_unstable_warning
2025-05-15 23:05:01 +02:00
Jens Steube
787dcce90b
Merge pull request #4203 from matrix/bench_min_max
Added options --benchmark-min and --benchmark-max to set a hash-mode range to be used during the benchmark
2025-05-13 11:12:21 +02:00
Jens Steube
ded2b5bd7a
Merge pull request #4206 from matrix/xxHash_update
Dependencies: Updated xxHash to 0.8.3 (commit 50f4226)
2025-05-13 11:09:08 +02:00
Jens Steube
e8cc0cc978
Merge pull request #4205 from matrix/LZMA_SDK_update
Dependencies: Updated LZMA SDK to 24.09
2025-05-12 16:43:55 +02:00
Gabriele Gristina
55f53ba076 assigned -H to --hash-info 2025-05-11 17:16:03 +02:00
Gabriele Gristina
003579d21b Modules: Updated module_unstable_warning 2025-05-11 15:40:52 +02:00
Gabriele Gristina
af2c936857 Dependencies: Updated xxHash to 0.8.3 (commit 50f4226) 2025-05-07 20:12:00 +02:00
Gabriele Gristina
1e6d74b938 Dependencies: Updated LZMA SDK to 24.09 2025-05-07 19:57:03 +02:00
Gabriele Gristina
232e2e1195 Dependencies: Updated OpenCL-Headers to v2024.10.24 (commit 265df85) 2025-05-07 19:43:59 +02:00
Gabriele Gristina
120e758be9 Added options --benchmark-min and --benchmark-max to set a hash-mode range to be used during the benchmark 2025-05-07 18:46:51 +02:00
Gabriele Gristina
ff6185e9b4 Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN 2025-05-06 20:44:50 +02:00
stumblebot
a3b5125e43 updated some files in docs/ to reflect new hash-mode 2025-04-29 17:47:30 -04:00
Gabriele Gristina
24fa627f2f Added hash-mode: BestCrypt v4 Volume Encryption 2025-04-27 20:57:43 +02:00
luke
3c921390ef apply style docs 2025-04-26 06:48:08 +07:00
Gabriele Gristina
cc9ae09b94 Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951) 2025-04-25 19:13:33 +02:00
Gabriele Gristina
fcfd7b00ba Added hash-mode: md5($salt1.$pass.$salt2) 2025-04-24 21:26:05 +02:00
luke
faecf1e034 Added hash-mode: md5($salt.md5($pass).$salt) 2025-04-23 08:48:01 +07:00
Gabriele Gristina
c105104b92 Modules: Check UnpackSize to raise false positive with hc_decompress_rar 2025-04-22 23:46:58 +02:00
Gabriele Gristina
3a3453c9dd Added hash-mode: md5(md5(md5($pass.$salt1)).$salt2) 2024-11-03 03:26:57 +01:00
Gabriele Gristina
53f57fb7ae Add support to character class rules 2024-11-02 22:02:18 +01:00
Gabriele Gristina
b3def20527 Update docs/changes.txt 2024-11-01 23:42:08 +01:00
Gabriele Gristina
d93d208ad8 Modules: Added module_unstable_warning for 22500, update module_unstable_warning for 10700 2024-10-31 18:43:35 +01:00
Gabriele Gristina
db814b5837 Update PR #3735 2024-10-31 18:29:23 +01:00
Gabriele Gristina
5efbd2f435 Fixed clang identification in src/Makefile 2024-10-31 18:17:34 +01:00
Gabriele Gristina
a80d68731e Kernel: Renamed multiple defines in CAST cipher to fit expected naming convention of the C++ language standard 2024-10-31 18:04:58 +01:00
Gabriele Gristina
33092b13c3 Extended the Purge (@) rule operation to support Classes, Fixed d3ad0ne.rule to support the new Purge (@) rule handling 2024-10-31 15:23:18 +01:00
Gabriele Gristina
356ad9f927 Fixed memory leaks in tuning_db_init in tuningdb.c 2024-10-27 00:45:44 +02:00
Gabriele Gristina
0788fd9ae7 Fixed stack buffer overflow in PKZIP modules (17200, 17210, 17220, 17225, 17230) 2024-10-26 13:24:00 +02:00
Gabriele Gristina
a66c93ae1e Fixed bug in --stdout when multiple computing devices are active 2024-10-24 21:13:11 +02:00
Gabriele Gristina
7398b03be3 User Options: limit --bitmap-max value to 31 2024-10-24 20:15:08 +02:00
Nikita Strygin
f9cc329a3c Add a mode to crack mega.nz password-protected links 2024-06-10 11:34:29 +03:00
PenguinKeeper7
4cb22387b3 Added hash-mode: md5(sha1(md5($pass)))
See: https://github.com/hashcat/hashcat/issues/3974
2024-03-29 03:05:33 +00:00
PenguinKeeper7
73959cbad5 Update changes.txt 2024-03-01 00:00:30 +00:00
PenguinKeeper7
d3aa62bd15
Update changes.txt 2023-10-05 21:00:59 +01:00
jsteube
dba096242d Fix changes.txt ordering 2023-08-27 14:40:24 +00:00
Arseniy Sharoglazov
50e7d9d56c Fixed a bug that --outfile-autohex-disable affects potfile 2023-08-13 12:31:38 +03:00
jsteube
4ae5530ff9 Add missing entry to changes.txt 2023-08-09 15:04:05 +00:00
Jens Steube
1259ea03bd
Merge branch 'master' into DCC2-NT 2023-08-07 18:02:57 +02:00
Jens Steube
446178c455
Merge branch 'master' into DCC-NT 2023-08-06 22:48:42 +02:00
jsteube
96b05b2630 AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (23.7.2 or later) and "AMD HIP SDK" (23.Q3 or later) 2023-08-05 15:58:22 +00:00
Jens Steube
92e9247995
Merge pull request #3813 from PenguinKeeper7/CubeCart
Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt))
2023-08-02 22:39:26 +02:00
PenguinKeeper7
abe6fd76c4 Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt)) 2023-07-28 18:43:21 +01:00
justpretending
b2f14f2f5d Fix some typos 2023-07-27 23:11:55 +07:00
jsteube
601e4d622d Fix ordering of new hash-modes in changes.txt 2023-07-19 17:12:39 +00:00
jsteube
b2f81d7bea Rules: Rename best64.rule to best66.rule and remove the unknown section from it 2023-07-15 07:29:15 +00:00
jsteube
1636bc41df Fix hash category for -m 32500 and add missing entry to changes.txt 2023-07-09 15:10:31 +00:00
jsteube
b700428bff Add missing entry for commit ab932815ea 2023-07-05 16:21:53 +00:00
Gabriele Gristina
567ceefaf0 Added hash-mode: sha512(sha512_bin($pass).$salt) 2023-07-01 23:49:48 +02:00
Jens Steube
1200bab046
Merge pull request #3776 from thatux/gpg-cast5
Add GPG (CAST5 (SHA-1($pass)))
2023-06-30 19:47:13 +02:00
Gabriele Gristina
b6ae3d867e Added hash-mode: md5(sha1($salt.$pass)) 2023-06-27 02:58:20 +02:00
Jens Steube
f5ec183552
Merge pull request #3773 from matrix/algo_2630
Added hash-mode: md5(md5($pass.$salt))
2023-06-26 20:04:40 +02:00
Your Name
cb2890c108 working m17040 2023-06-26 13:34:27 +02:00
Gabriele Gristina
c31d8d2b95 Added hash-mode: md5(md5($pass.$salt)) 2023-06-24 03:25:00 +02:00
Gabriele Gristina
40f087923f Added hash-mode: md5(sha1($pass.$salt)) 2023-06-24 00:21:33 +02:00
Jens Steube
6bf5959b23
Merge branch 'master' into update_deps_lzma 2023-06-22 14:39:07 +02:00
Jens Steube
823a36dcff
Merge branch 'master' into fix_rar_segfault_AppleSilicon 2023-06-20 18:44:35 +02:00
Jens Steube
2d60359827
Merge pull request #3766 from matrix/algo_RSA_NetWitness
Added hash-mode: RSA Security Analytics / NetWitness (sha256)
2023-06-19 19:42:15 +02:00
Jens Steube
82cf3b63b9
Merge pull request #3764 from matrix/algo_21310
Added hash-mode: md5($salt1.sha1($salt2.$pass))
2023-06-17 16:57:49 +02:00