Jukka Ojanen
3bc7b6af90
Avoid directly accessing file handle
3 years ago
Jens Steube
50e28ff306
Merge pull request #2926 from jtojanen/master
...
Code cleanup and small fixes
3 years ago
Jukka Ojanen
fed32a58c7
Always cleanup and initialize all parts of HC_FILE structure
3 years ago
Jukka Ojanen
f3cd32bffd
Avoid memory copy in rebuild_pws_compressed_append() and assign instead
3 years ago
Jens Steube
76e388ea47
Memory Management: Check in OpenCL that CL_DEVICE_HOST_UNIFIED_MEMORY is true and if so, then half of the available memory
...
NEO driver: Activate the NEO driver (Intel GPU) after it passed several tests in hashcat using the latest NEO driver version
3 years ago
Jens Steube
9254603960
Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
...
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all
needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
3 years ago
Jens Steube
05f107cbe5
Added option --generate-rules-func-sel to specify a pool of operators that the random rule generator is allowed to pick from
3 years ago
Jens Steube
6b485dd3fd
Merge pull request #2934 from jtojanen/fix_extra_tmp_size
...
Assume hashconfig->tmp_size is the element size
3 years ago
Jukka Ojanen
5c0820b8d3
Assume hashconfig->tmp_size is the element size
3 years ago
Jens Steube
1f22984313
The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again.
3 years ago
Jens Steube
01738fafa0
Deprecated Plugins: Add new module function module_deprecated_notice() to mark a plugin as deprecated and to return a free text user notice
...
Added option --deprecated-check-disable to enable deprecated plugins
3 years ago
Jens Steube
63a0c5a1e1
Merge branch 'master' into snmpv3_sha512
3 years ago
Jens Steube
dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
...
Added hash-mode: SNMPv3 HMAC-SHA384-256
3 years ago
Jens Steube
cb69e2d413
Added some HIP version checks, fall back to OpenCL automatically
...
Switched HIP version check from driverVersion to runtimeVersion
Fixed syntax check of HAS_VPERM macro in several kernel includes causing invalid error message for AMD GPUs on Windows
Updated AMD driver requirements
Updated docs/changes.txt with missing changes from previous commits
Fixed invalid vector data type in Murmur Hash in -a 3 mode
Fixed uninitialized variable warning in src/hashes.c
Fixed broken support for --generate-rules-func-min
3 years ago
Jens Steube
af5d346244
Merge pull request #2894 from jtojanen/master
...
Allow async execution
3 years ago
Jens Steube
20a7b9f992
Tuning-Database: Add new module function module_extra_tuningdb_block() to extend hashcat.hctune content from a plugin
...
See src/modules/module_08900.c as an example
3 years ago
Jukka Ojanen
3d7ce7162b
Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jens Steube
f4e52ca533
Add new rule function '3' to switch the case of the first letter after occurrence N of char X
3 years ago
Jukka Ojanen
c3195d0603
Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jukka Ojanen
d7cc8d7cd2
Revert due to module_03200.c, module_25600.c and module_25800.c using device_param->kernel_dynamic_local_mem_size_memset
3 years ago
Jukka Ojanen
8b590f651b
Remove unused gpu_memset and its references
3 years ago
Jens Steube
ae39fa0979
Merge pull request #2908 from hashcat/master
...
Backports
3 years ago
Jukka Ojanen
5dbe4958b8
Remove digests_shown_tmp buffer, used in check_cracked() to zero out hashes
3 years ago
Jukka Ojanen
cdf27a1cb3
Implement async run_cuda_kernel_memset() and run_cuda_kernel_memset32()
3 years ago
Jukka Ojanen
be33ccaa6c
check_hash() needs to return value to indicate possible error
3 years ago
Jens Steube
532a154542
ADL: Updated support for AMD Display Library to 15.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen
d7de3550b1
Add fast event for CUDA and HIP, and use it to synchronize check_hash()
3 years ago
Gabriele Gristina
357c23d7a1
Added hash-mode: SNMPv3 HMAC-SHA384-256
3 years ago
Gabriele Gristina
15b90c953e
Added hash-mode: SNMPv3 HMAC-SHA512-384
3 years ago
Jukka Ojanen
a642f7b233
Remove synchronous GPU memory copy functions
3 years ago
Jens Steube
b66c093c17
Merge pull request #2902 from hashcat/master
...
Backports
3 years ago
Jens Steube
b53691c8f5
ADL: Updated support for AMD Display Library to 14.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen
4bd7363674
Add missing HIP declarations
3 years ago
Jens Steube
72e307fbce
Merge pull request #2901 from hashcat/master
...
Backport changes
3 years ago
Jens Steube
959a232828
Merge pull request #2885 from neheb/charfixes
...
const and char fixes
3 years ago
Jens Steube
84a4058edf
Merge pull request #2900 from hashcat/master
...
Backport changes
3 years ago
Jens Steube
640d95a00f
Vendor Detection: Add "Intel" as a valid vendor name for GPU on macOS
3 years ago
Jens Steube
5ffcaa980d
HIP Backend: Added support to support HIP 4.4 and later, but added check to rule out older versions because they are incompatible
3 years ago
Rosen Penev
14f5a26027
use const char for fopen mode
...
Fixes -Wwrite-strings warnings.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Jens Steube
f9e74045b5
Commandline: Throw an error if separator character given by the user with -p option is not exactly 1 byte
3 years ago
Jukka Ojanen
fafd24237d
Define HC_ALIGN macro to control data alignment and use common constant zero buffer in run_cuda_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero().
3 years ago
Jens Steube
5024865d87
Kernel Threads: Use warp size / wavefront size query instead of hardcoded values as base for kernel threads
...
Kernel Cache: Add kernel threads into hash computation which is later used in the kernel cache filename
Remove some unused function symbol lookups in HIP library
3 years ago
Jens Steube
c990e252d3
Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism
3 years ago
Jukka Ojanen
8674e23d79
Add async HIP memcpy functions: hc_hipMemcpyDtoDAsync(), hc_hipMemcpyDtoHAsync() and hc_hipMemcpyHtoDAsync(). Implement partially async HIP memset and bzero kernels.
3 years ago
Jukka Ojanen
4263cafdcf
Add async CUDA memcpy functions: hc_cuMemcpyDtoDAsync(), hc_cuMemcpyDtoHAsync() and hc_cuMemcpyHtoDAsync(). Implement partially async CUDA memset and bzero kernels.
3 years ago
Jukka Ojanen
ea5180ac46
Include missing bzero kernel parameters
3 years ago
Jukka Ojanen
a2a1d04bcf
Implement gpu_bzero
3 years ago
Jens Steube
1ab56afb9e
Merge pull request #2874 from hashcat/master
...
Backports from master
3 years ago
Jens Steube
ca3beacd93
Disable dynamic shared memory on HIP, because hipFuncSetAttribute() maps to cudaFuncSetAttribute() and not to cuFuncSetAttribute()
3 years ago
Jens Steube
92cf955ae6
Merge pull request #2872 from jtojanen/master
...
Use critical section instead of mutex in Windows
3 years ago