magnum
b2c846135d
Recover from (rare) non-fatal file locking problems
2025-02-26 11:12:47 +01:00
Mayank Malik
3033ed1263
Merge branch 'hashcat:master' into hip_rtc_windows_env_implementation
2025-02-11 16:50:50 +05:30
Code Curiously
5b26392adb
Fix RAM usage bug for Linux Apple Silicon #4125
2024-12-01 19:20:26 +00:00
wizardsd
0ba76629c0
Fixed a host buffer overflow bug when copying rules from host to device
2024-11-07 12:47:36 +03:00
Gabriele Gristina
5efbd2f435
Fixed clang identification in src/Makefile
2024-10-31 18:17:34 +01:00
Mathias
d756a6617c
Update backend.c
...
Fixes hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION on AMD 6900XT.
```bash
hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION
ld.lld: error: undefined hidden symbol: __ockl_get_group_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times
ld.lld: error: undefined hidden symbol: __ockl_get_local_size
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times
ld.lld: error: undefined hidden symbol: __ockl_get_local_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times
* Device #1 : Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.
* Device #1 : Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.
```
2024-10-29 15:35:10 +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
jsteube
6716447dfc
Add support for zero-length salts in Electrum $4 and $5
2024-04-20 17:35:45 +00:00
Mayank
992f1c13ba
Removed -nocudalib from hiprtc_options to fix LLVMBitcode compilation error when using HIP Backend
2024-02-09 23:15:54 +05:30
Mayank
08f6cf7e0a
Updated HIP SDK detection to use ENV variable on Windows
2024-02-08 10:16:25 +05:30
fse-a
f8c0899670
Increased-virtual-backend-limit
...
Increased the virtual backend limit.
2024-01-25 10:27:38 +01:00
Royce Williams
cd5dc9e3ce
summarize invalid rule chains
2023-12-12 23:00:20 -09:00
Jens Steube
4d412c8e04
Merge pull request #3910 from Fil0sOFF/intel-igpu-memory-usage-fix
...
Fix RAM usage for Intel iGPUs
2023-11-27 16:24:08 +01:00
jsteube
e15169bd49
Fix allocation buffer for --dynamic-x in hashes_init_stage2()
2023-11-26 07:31:18 +00:00
jsteube
810c65f908
Fix some warning about --dynamic-x in hashes_init_stage1()
2023-11-25 11:44:47 +00:00
jsteube
d7bcc76b92
Add dynamic-x info to to save_hash()
2023-11-24 23:20:46 +00:00
Sergey Popov
c7923fe8ba
Fix RAM usage for Intel iGPUs
2023-11-24 23:03:00 +02:00
jsteube
1b357036f4
Add initial code for dynamic-x support in potfile.c, not active yet
2023-11-20 10:14:09 +00:00
jsteube
9269229c03
Fix some variable names and types related to dynamic-x support in hashes.c
2023-11-19 11:45:24 +00:00
jsteube
b906a145ca
Initialize new dynamicx type in autodetect_hashmode_test()
2023-11-18 21:04:41 +00:00
jsteube
d2d27cd35e
Add code to fetch dynamic-x info in potfile if there's dynamic-x enabled
2023-11-17 22:03:01 +00:00
jsteube
252e7614da
Add a warning about delayed output in case --dynamic-x is used in combination with --show
2023-11-14 07:05:20 +00:00
jsteube
702306dfd5
If --dynamic-x is used, potfile database needs to keep all hashes
2023-11-13 08:48:11 +00:00
jsteube
4da1d31668
Replaced index() with strchr() to enable mingw to compile windows binaries
2023-11-12 11:02:10 +00:00
jsteube
934105bec0
Start using extract_dynamicx_hash() from hlfmt_hash_hashcat()
2023-11-10 09:16:28 +00:00
jsteube
2029be782e
Refactor extract_dynamic_x() to extract_dynamicx_hash() and add code
2023-11-09 15:04:32 +00:00
jsteube
2d3ebf1d4e
Add global dynamic-x hash mode extraction function
2023-11-08 14:43:45 +00:00
jsteube
4da995cf88
Change hlfmt.c strategy to extract dynamic-x hash-mode
2023-11-07 22:08:55 +00:00
jsteube
09915c7243
Prepare hlfmt.c for combination of --username and --dynamic-x
2023-11-06 20:05:09 +00:00
jsteube
5f735dadae
Add usage entry for new --dynamic-x parameter
2023-11-04 13:16:56 +00:00
jsteube
c00d88e2d9
Prepare hlfmt.c for dynamic_x flag
2023-11-03 18:30:29 +00:00
jsteube
cdad6cca7b
Fix datatype access to user_options->username in hlfmt.c
2023-11-02 16:48:54 +00:00
jsteube
b66527f0d2
Prepare commandline parameter for upcoming partial support for $dynamic_X$
2023-11-01 16:12:44 +00:00
jsteube
b1b349e8c9
Prepare commandline parameter for upcoming partial support for $dynamic_X$
2023-10-31 10:38:10 +00:00
jsteube
adbcef6909
Refactor optimized_kernel_enable variable to just optimized_kernel, same idea as outfile_autohex variable
2023-10-30 15:09:36 +00:00
jsteube
686bc227cf
Allow user to use --keyboard-layout-mapping for VeraCrypt SHA512 plugins.
...
This plugin doesn't require a dedicated boot hash-mode, because the iteration count is the same for both boot and partition/file hash-mode.
For that reason it should be allowed to use keyboard mapping functionality.
2023-10-26 11:42:01 +00:00
jsteube
e55b331058
Refactor potfile_disable variable to just putfile, same idea as outfile_autohex variable
2023-10-21 16:42:29 +00:00
jsteube
b597a96328
Refactor restore_disable variable to restore_enable, try to make variable names always positive for easier handling
2023-10-20 12:16:18 +00:00
jsteube
ff94f4c9d0
Refactor self_test_disable variable to just self_test, same idea as outfile_autohex variable
2023-10-19 06:08:24 +00:00
jsteube
7b52dad8c9
Refactor multiply_accel_disable variable to just multiply_accel, same idea as outfile_autohex variable
2023-10-18 12:41:09 +00:00
jsteube
bf04a158aa
Refactor markov_disable variable to just markov, same idea as outfile_autohex variable
2023-10-17 12:17:05 +00:00
jsteube
e498138bb6
Refactor logfile_disable variable to just logfile, same idea as outfile_autohex variable
2023-10-16 13:18:45 +00:00
jsteube
31240cf91a
Fix hwmon_disable issue in hwmon.c
2023-10-15 18:43:36 +00:00
jsteube
98ee1bd396
Refactor hwmon_disable variable to just hwmon, same idea as outfile_autohex variable
2023-10-15 18:40:56 +00:00
jsteube
1255afb55c
Refactor deprecated_check_disable variable to just deprecated_check, same idea as outfile_autohex variable
2023-10-13 12:17:44 +00:00
jsteube
652b66e642
Refactor advise_disable variable to just advise, same idea as outfile_autohex variable
2023-10-12 13:03:45 +00:00
jsteube
4dceea914f
Refactor wordlist_autohex_disable variable to wordlist_autohex, same idea as outfile_autohex variable
2023-10-10 21:03:07 +00:00
PenguinKeeper7
a033180aa1
Update user_options.c
2023-10-08 02:59:01 +01:00
jsteube
37175f5067
Add remaining --outfile-json code
2023-10-07 13:02:47 +00:00
jsteube
e6715fbd89
Prepare options and usage for --outfile-json
2023-10-06 08:21:07 +00:00
raulperdomo
655cb2a108
Update module_19210.c
...
Changed Salt Minimum Len to 16
2023-10-02 11:26:35 -04:00
jsteube
8679512385
Fix some ordering in hashcat_init()
2023-09-29 08:11:20 +00:00
jsteube
8fbecc00cc
Fix some ordering in hashcat_destroy()
2023-09-28 11:47:45 +00:00
jsteube
c59b4bffd5
Add note on how to get CUDA running on WSL2
2023-09-27 08:14:51 +00:00
jsteube
0d0a07012c
Do not show HIPRTC notice if HIP is not installed. In that case we can assume the system doesn't have an AMD GPU
2023-09-26 08:52:46 +00:00
Jens Steube
1a4a581774
Merge pull request #3880 from PenguinKeeper7/a9-outfile-warning-fix
...
Remove -o warning when already used
2023-09-22 21:16:01 +02:00
jsteube
302dab6a24
Simplify module_hash_decode() in -m 32700
2023-09-20 07:22:28 +00:00
jsteube
33be14995a
Get rid of OPTS_TYPE_HASH_COPY in -m 19210
2023-09-19 07:19:44 +00:00
PenguinKeeper7
1bae3383dc
Fix -o warning when already used
2023-09-18 16:16:47 +01:00
jsteube
32853374b9
Fix some file modes
2023-09-18 07:19:23 +00:00
Jens Steube
4dd2890b12
Merge pull request #3875 from gorgiaxx/master
...
Added -m 19210 QNX7 /etc/shadow Hash
2023-09-17 18:39:44 +02:00
Jens Steube
2801527d81
Merge pull request #3873 from piru/master
...
Raise Flask Session Cookie (-m 29100) max data length to 120 chars.
2023-09-16 15:54:39 +02:00
Jens Steube
bf65e65db0
Normalize module for -m 32700 and remove OPTS_TYPE_MP_MULTI_DISABLE and other not relevant flags
2023-09-15 08:49:13 +00:00
Gorgias
78ccd9783c
remove useless header file
2023-09-14 21:07:23 +08:00
Gorgias
1831101c3a
Merge branch 'hashcat:master' into master
2023-09-14 15:25:32 +08:00
gorgias
241b2aa566
Support QNX 7 SHA512 Hash
2023-09-14 15:24:50 +08:00
jsteube
5def8a3534
Rewrote -m 32700 kernel to use u32 datatype instead of u8
2023-09-14 06:28:19 +00:00
Jens Steube
a74270b120
Remove SHA1_TRANSFORM_SWAP modificaton in inc_hash_sha1.cl and use replacement of sha1_final in -m 32700 sources as replacement
2023-09-13 07:50:20 +00:00
Jens Steube
573423af97
Rewrite -m 32700 to use salt_iter and loop kernel as expected in slow hash modes
2023-09-12 07:10:31 +00:00
Harry Sintonen
8ae46f4487
Raise Flask Session Cookie (-m 29100) max data length to 120 chars.
2023-09-11 13:54:02 +03:00
Jens Steube
ce7e3b2483
Merge pull request #3863 from PenguinKeeper7/dictstat-never-created
...
Correctly check -j and -k when creating dictstat
2023-09-09 21:04:32 +02:00
Jens Steube
42f2286d16
Merge pull request #3742 from hans-vh/kremlin
...
Add support for Kremlin Encrypt (-m 32700)
2023-09-08 15:28:20 +02:00
PenguinKeeper7
e9eccf32b6
Space cleanup
2023-09-04 23:12:16 +01:00
PenguinKeeper7
2954b62a6a
Use chgd variable to decide dictstat building
...
Use rule_buf_l_chgd and rule_buf_r_chgd instead of checking raw values for futureproofing / code cleanliness
2023-09-04 23:09:07 +01:00
PenguinKeeper7
0c65c03397
Correctly check -j / -k's values
...
Check as ':' instead of NULL, as : is the default value of rule_buf_l and rule_buf_r
2023-09-04 20:34:56 +01:00
PenguinKeeper7
f3fbc1174d
Remove user_options from potfile.c
...
As title, to avoid a compiler unused variable warning
2023-09-04 19:24:38 +01:00
Jens Steube
0af2345916
Merge pull request #3851 from neheb/decvl
...
fix prototypes and old declarations
2023-08-31 17:03:33 +02:00
red
a1ff328ae9
Update module_31900.c
...
upgrade to use longer metamaskMobile hashes
2023-08-29 21:46:58 +02:00
Jens Steube
ede390c36a
Merge pull request #3839 from neheb/cas
...
fix some const-qual warnings
2023-08-24 13:51:28 +02:00
Jens Steube
db4d8e23e5
Merge pull request #3832 from mohemiv/potfile-fix
...
Fixing a bug that --outfile-autohex-disable affects potfile
2023-08-23 19:24:44 +02:00
Jens Steube
3c3737ed3e
Merge pull request #3838 from PenguinKeeper7/master
...
Prevent file-unsafe characters in --session
2023-08-21 20:59:48 +02:00
Rosen Penev
a55d4aa3c9
fix prototypes and old declarations
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:13:12 -07:00
Rosen Penev
ae07d65f34
clang-tidy: remove useless casts
...
Now that const was fixed, pointless casts can be removed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:10:34 -07:00
Rosen Penev
795674c939
fix some const-qual warnings
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 20:55:54 -07:00
Jens Steube
c39719685c
Merge pull request #3831 from neheb/mm
...
fix MinGW compilation
2023-08-20 20:41:05 +02:00
Jens Steube
91095845b9
Support longer OpenCL device names
2023-08-18 15:18:11 +00:00
PenguinKeeper7
9d9815d166
Prevent file-unsafe characters in --session
2023-08-17 13:51:16 +01:00
Hans
219b71c5ae
Move Kremlin Encrypt to mode 32700
2023-08-15 13:48:37 +02:00
Hans
9446a589b0
Move Kremlin Encrypt to mode 32600
2023-08-14 09:51:13 +02:00
Arseniy Sharoglazov
50e7d9d56c
Fixed a bug that --outfile-autohex-disable affects potfile
2023-08-13 12:31:38 +03:00
jsteube
e30cb02f10
Mark -m 7400 and -m 500 a compatible kernel for OPTS_TYPE_DEEP_COMP_KERNEL
2023-08-12 20:59:01 +00:00
Rosen Penev
a59e030d7f
fix MinGW compilation
...
HC_API_CALL needs to be placed not just on the declaration.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-11 23:16:27 -07:00
Jens Steube
d0d07daf91
Merge pull request #3824 from mohemiv/fix-23900-32060
...
Removed duplicate lines from 23900 and 32060
2023-08-11 17:54:02 +02:00
Arseniy Sharoglazov
70e4f3cf1b
Removed redundant length check
2023-08-10 07:23:38 +03:00
Arseniy Sharoglazov
244ca6fe27
Removed redundant length check
2023-08-10 06:05:57 +03:00
Arseniy Sharoglazov
0553bf96b8
Removed duplicate lines from WPA modules
2023-08-10 06:02:52 +03:00
Arseniy Sharoglazov
5f434cc338
Removed a duplicate line in hashes.c
2023-08-10 05:50:34 +03:00
Arseniy Sharoglazov
27c9ce101f
Removed duplicate lines
2023-08-10 05:29:19 +03:00
Rosen Penev
2e7085f9a7
silence clang32/64 warning about sign comparisons
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-09 17:39:27 -07:00
jsteube
734b435028
Fix missing check for -j and -k before writing hashcat.dictstat2 which can lead to false negatives
2023-08-08 21:11:44 +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
jsteube
c2065d158c
Renamed hash-mode 6150 to 32600
2023-08-03 20:55:47 +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
Jens Steube
3a3e188607
Merge pull request #3810 from justpretending/typos
...
Fix some typos
2023-08-01 09:11:20 +02:00
Mayank
c77f4387ed
Added path to HIP RTC DLL provided in HIP SDK (ROCm 5.5.0) for Windows
2023-07-31 08:21:06 +05:30
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
PenguinKeeper7
d576a20932
Typo fix
2023-07-27 15:18:35 +01:00
jsteube
3173f9374d
Add unstable markers for Intel GPU for -m 25100 and 25200
2023-07-25 17:40:55 +00:00
jsteube
d5196ae727
Add unstable markers for Intel GPU for -m 8200, 21700 and 25000
2023-07-24 18:37:35 +00:00
jsteube
66645e12bd
Fix hash category in hash mode 29000
2023-07-11 07:52:25 +00:00
Rosen Penev
147ec30fd6
fix compilation with FreeBSD
...
FreeBSD is checked for in two places and two duplicate functions are
used. Just use the former.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-07-09 16:52:03 -07: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
8b559ce563
Fix module_hash_encode() in hash-mode 32500
2023-07-08 18:21:40 +00:00
jsteube
b1afc4a9aa
Rename hash-mode 98765 to 32500 and add some missing memory initialization
2023-07-07 18:13:58 +00:00
Hans
7b4c2012b7
Move SHA1 code from kernel to inc_hash_sha1.cl
2023-07-07 14:56:39 +02:00
Jens Steube
4729342571
Merge pull request #3746 from JoeMcGeever/master
...
Plugin for issue #2994 - dogechain implementation
2023-07-06 15:38:52 +02:00
Chick3nman
4c93eb4cc5
Add suggested memset
2023-07-05 01:24:40 -05:00
Chick3nman
b6804aa34d
Add suggested memset
2023-07-05 01:21:54 -05:00
jsteube
ab932815ea
Fixed out-of-boundary read in autotune.c when a fast hash defines a kernel_loops_min value that is higher than the actual number of amplifiers provided by the user
2023-07-04 09:40:39 +00:00
JoeMcGeever
10dc0df264
Updated hash format to be the same as the suggested @philsmd
2023-07-03 10:54:29 +01: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
b4c12ee628
add test hashes
2023-06-26 13:36:35 +02:00
Your Name
cb2890c108
working m17040
2023-06-26 13:34:27 +02:00
Your Name
fae1994588
based m17040 of m17010
2023-06-26 11:50:53 +02:00
Jens Steube
b5fb169ded
Merge pull request #3772 from matrix/algo_4420
...
Added hash-mode: md5(sha1($pass.$salt))
2023-06-25 20:01:05 +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
dale
e00ab993a2
Fixed stray comma in JSON output when selecting a device other than the first.
2023-06-23 13:22:41 -05: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
58155986cf
Merge pull request #3765 from philsmd/master
...
fix trailing spaces
2023-06-18 16:19:40 +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
Gabriele Gristina
e506823772
Added hash-mode: RSA Security Analytics / NetWitness (sha256)
2023-06-17 14:41:17 +02:00
philsmd
79869badf1
fix trailing spaces
2023-06-17 10:08:55 +02:00
Jens Steube
4734d112b8
Merge pull request #3763 from matrix/XenForo_sha512
...
Added hash-mode: sha512(sha512($pass).$salt)
2023-06-16 03:10:11 +02:00
Gabriele Gristina
19a36e73a2
Added hash-mode: md5($salt1.sha1($salt2.$pass))
2023-06-15 19:01:52 +02:00
Gabriele Gristina
ec13e6123a
Added hash-mode: sha512(sha512($pass).$salt)
2023-06-14 22:51:39 +02:00
Gabriele Gristina
ef81520158
Metal Backend: disable Metal devices only if at least one OpenCL device is active
2023-06-14 21:11:42 +02:00
Jens Steube
32517211a5
Merge pull request #3760 from matrix/check_invalid_kern_type
...
do not allow negative kern_type
2023-06-14 03:25:35 +02:00
Jens Steube
3c3e950dba
Merge pull request #3759 from matrix/enable_Metal_2xx
...
Metal Backend: allow use of devices with Metal if runtime version is >= 200
2023-06-13 00:27:22 +02:00
Jens Steube
aa42b3b758
Merge pull request #3756 from matrix/fix_sprintf_warnings_v2
...
fix multiple sprintf build warnings by using snprintf
2023-06-11 00:51:43 +02:00
Jens Steube
bf206d594e
Merge pull request #3755 from matrix/fix_deprecated_kIOMasterPortDefault
...
using hc_IOMasterPortDefault instead of kIOMasterPortDefault/kIOMainPortDefault
2023-06-09 13:35:10 +02:00
Jens Steube
3bd8d38402
Merge pull request #3753 from matrix/algo_empireCMS_AdminPassword
...
Added hash-mode: Empire CMS (Admin password)
2023-06-08 12:47:14 +02:00