1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 17:08:12 +00:00
Commit Graph

7701 Commits

Author SHA1 Message Date
Jens Steube
a82fce2c8f Fixed invalid ETA if --limit was specified, several salts are in a hash list and some of them were found in a potfile 2021-07-14 10:26:57 +02:00
Jens Steube
9c134833a6 Update module_unstable_warning() for -m 19600 and -m 19700 2021-07-14 08:26:12 +02:00
Jens Steube
f3bd936971 Add hardware monitor mapping for HIP devices 2021-07-14 08:23:39 +02:00
Jens Steube
84fcea9592 Fix unusued variable warning 2021-07-14 08:17:55 +02:00
Jens Steube
4b68a8fb4f
Merge pull request #2878 from hashcat/master
Backports
2021-07-13 22:26:28 +02:00
Jens Steube
4e773f32b2 Fix variable declaration block level in -m 19600 and -m 19700 2021-07-13 22:22:53 +02:00
Jens Steube
7faf6859d6 Backport hand-optimized compiler settings in modules from ROCM to HIP
Backport DECLSPEC settings from ROCM to HIP
2021-07-13 20:45:01 +02:00
Jens Steube
74fca7bac1
Merge pull request #2875 from jtojanen/master
Fix leaks in dictstat_destroy
2021-07-13 13:28:37 +02:00
Jens Steube
219bed457f Fix use of --gpu-max-threads-per-block 2021-07-12 14:02:43 +02:00
Jukka Ojanen
6b5af5e849 Fix leaks in dictstat_destroy 2021-07-12 14:33:24 +03:00
Jens Steube
674ca7d88f Add GPU threads to kernel cache checksum because it has an influence on HIP offline compile options
Add V_ALIGNBIT_B32 inline assembly wrapper because HIP does not provide amd_bitalign()
2021-07-12 11:27:05 +02:00
Jens Steube
23c3c178bf Limit max threads per block to 64 to enable offline compiler to make better use if available registers
Fix double free() for hip_event1/hip_event2 and hip_stream causes segfault
Replace hc_cuCtxSetCurrent() with hc_cuCtxPushCurrent() in order to align changes with HIP
Add vector datatype operators (if we decide to use them - currently unused)
2021-07-12 09:28:26 +02:00
Jens Steube
1ab56afb9e
Merge pull request #2874 from hashcat/master
Backports from master
2021-07-12 08:57:50 +02:00
Jens Steube
5d05c95a2f Fix address space of crc32tab[] in -m 172xx 2021-07-12 08:56:10 +02:00
Jens Steube
20f7febd4c Workaround too intensive optimization in -m 2000 using HIPRTC 2021-07-11 15:54:13 +02:00
Jens Steube
fde4770219 Add misssing HIP backend information in -I output 2021-07-11 14:47:48 +02:00
Jens Steube
ca3beacd93 Disable dynamic shared memory on HIP, because hipFuncSetAttribute() maps to cudaFuncSetAttribute() and not to cuFuncSetAttribute() 2021-07-11 14:30:49 +02:00
Jens Steube
92cf955ae6
Merge pull request #2872 from jtojanen/master
Use critical section instead of mutex in Windows
2021-07-11 13:43:11 +02:00
Jens Steube
1b84a9e53b Add missing backports from code base v6.2.2
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
5fd51268ca
Merge pull request #2873 from reger-men/hip
First draft HIP Version
2021-07-10 21:36:40 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip 2021-07-10 21:34:09 +02:00
Jukka Ojanen
2fd0a81f93 Use critical section instead of mutex in Windows 2021-07-10 16:29:40 +03:00
Jens Steube
9fc6c26f8c Added temperature watchdog and utilization for CPU on linux using sysfs and procfs 2021-07-10 14:24:51 +02:00
Jens Steube
bfe83ec138 Added temperature watchdog for CPU on linux using sysfs 2021-07-10 08:43:15 +02:00
Jens Steube
72d7048b7e Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-09 20:48:29 +02:00
Jens Steube
979f9e9868 Rename hardware monitor interface sysfs to sysfs_amdgpu 2021-07-09 20:48:10 +02:00
Jens Steube
d6042035fc
Merge pull request #2870 from jtojanen/fixes
Avoid deadlocks in brain server
2021-07-09 08:43:18 +02:00
reger-men
ea7b74389f First draft HIP Version 2021-07-09 03:50:40 +00:00
Jukka Ojanen
d93d130b6d Avoid deadlocks in brain server 2021-07-08 12:43:29 +03:00
Jens Steube
71c0ea44b7 Update hwmon to easier distinguish between CPU and GPU for OpenCL backend 2021-07-08 09:04:14 +02:00
Jens Steube
47848d2b64
Merge pull request #2867 from jtojanen/fixes
Improve affinity mask handling
2021-07-08 08:21:52 +02:00
Jens Steube
4cbf7900b6 Remove unused code in -m 26300 2021-07-08 06:25:35 +02:00
Jens Steube
4535695e0a Update some module_unstable_warning() on macOS after the workaround that was added before 2021-07-07 10:36:52 +02:00
Jens Steube
95861aa5d7 Fix password address space in m25600_init kernel 2021-07-07 10:35:41 +02:00
Jens Steube
f146a05878 Added option --markov-inverse to inverse markov statistics, with the idea of reversing the order of the password candidates 2021-07-07 10:32:08 +02:00
Jukka Ojanen
0edab2b20f Allow CPU affinity mask up to 64 processors in Windows. Remove call to SetThreadAffinityMask as SetProcessAffinityMask limits all threads in process. Report error code. pthread_setaffinity_np returns non-zero if failure; works also with OSX as it reports KERN_SUCCESS which is zero. 2021-07-06 16:47:18 +03:00
Jens Steube
17a47e390c Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-06 13:06:28 +02:00
Jens Steube
a3178391c2 Fixed missing option to automatically disable kernel cache in -m 25600 and -m 25800 2021-07-06 13:05:49 +02:00
Jens Steube
f602dd4e4f Bcrypt-SHA1/MD5 Kernels: Get rid of local memory use for binary to hex conversion to avoid false negatives on several OpenCL runtimes 2021-07-06 12:53:38 +02:00
Jens Steube
29c971187a
Merge pull request #2863 from matrix/metamask
Added hash-mode: MetaMask Wallet
2021-07-06 09:49:19 +02:00
Jens Steube
13e2aa2508
Merge pull request #2865 from jtojanen/fixes
Fix several backend leaks
2021-07-06 09:34:47 +02:00
Jukka Ojanen
a0eaefa0c2 Missing whitespaces 2021-07-05 20:20:51 +03:00
Jukka Ojanen
e133bd4ec4 Change rc_board_name_amd initial value to CL_INVALID_VALUE. If CHECK_BOARD_NAME_AMD is changed to 0, there is a problem with CL_SUCCESS which equals to 0, device will be skipped. 2021-07-05 19:05:10 +03:00
Jukka Ojanen
b3d18f86e2 Fix early return leaks in backend_session_begin 2021-07-05 19:03:56 +03:00
Jukka Ojanen
b976e52bc7 Fix early return leaks in load_kernel; nvrtc_options, nvrtc_options_string, build_log. Ensure build log NULL termination. 2021-07-05 19:00:35 +03:00
Jukka Ojanen
2f7eec2fd7 Fix early return leaks in backend_ctx_init and backend_ctx_devices_init 2021-07-05 15:52:48 +03:00
Jukka Ojanen
bcbb9b0d2c Fix skipped device param leak in backend_ctx_devices_destroy 2021-07-05 15:38:07 +03:00
Gabriele Gristina
6ce1c78f6d fix CT_MAX_LEN_BASE64 define 2021-07-05 13:21:10 +02:00
Jens Steube
4934e92cda OpenCL Runtime: Workaround a problem of the AMD OpenCL GPU driver under macOS which results in false negatives due to changes in the kernel crypto library 2021-07-05 11:33:12 +02:00
Jens Steube
a2f883396b Java Object hashCode: Add OPTS_TYPE_SUGGEST_KG as a default option 2021-07-05 09:25:06 +02:00