mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-23 15:08:37 +00:00
Merge pull request #4111 from matrix/modules_unstable_warning-update
Modules: Added module_unstable_warning for 22500, update module_unstable_warning for 10700
This commit is contained in:
commit
53ea022b5a
@ -146,6 +146,7 @@
|
|||||||
- Dependencies: Updated OpenCL-Headers to v2024.10.24 (commit 265df85)
|
- Dependencies: Updated OpenCL-Headers to v2024.10.24 (commit 265df85)
|
||||||
- Documents: Renamed status_code.txt in exit_status_code.txt and added device_status_code.txt
|
- Documents: Renamed status_code.txt in exit_status_code.txt and added device_status_code.txt
|
||||||
- Documents: Updated BUILD.md and added BUILD_macOS.md (containing instructions for building windows binaries on macOS)
|
- Documents: Updated BUILD.md and added BUILD_macOS.md (containing instructions for building windows binaries on macOS)
|
||||||
|
- Modules: Added module_unstable_warning for 22500, update module_unstable_warning for 10700
|
||||||
- HIP Backend: Avoid deprecated functions
|
- HIP Backend: Avoid deprecated functions
|
||||||
- Modules: Added support for non-zero IVs for -m 6800 (Lastpass). Also added `tools/lastpass2hashcat.py`
|
- Modules: Added support for non-zero IVs for -m 6800 (Lastpass). Also added `tools/lastpass2hashcat.py`
|
||||||
- Modules: Updated module_unstable_warning
|
- Modules: Updated module_unstable_warning
|
||||||
|
@ -109,11 +109,11 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
|
|||||||
{
|
{
|
||||||
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
|
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
|
||||||
{
|
{
|
||||||
if (device_param->is_metal == false)
|
if (device_param->is_metal == true)
|
||||||
{
|
{
|
||||||
if (strncmp (device_param->device_name, "Apple M", 7) == 0)
|
if (strncmp (device_param->device_name, "Intel", 5) == 0)
|
||||||
{
|
{
|
||||||
// AppleM1, OpenCL, MTLCompilerService, createKernel never-end with pure kernel and newComputePipelineState failed with optimized kernel
|
// Intel Iris Graphics, Metal Version 244.303: failed to create 'm10700_loop' pipeline, timeout reached (status 49)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,23 @@ const char *module_st_pass (MAYBE_UNUSED const hashconfig_t *hashconfig,
|
|||||||
|
|
||||||
static const char *SIGNATURE_MULTIBIT = "$multibit$";
|
static const char *SIGNATURE_MULTIBIT = "$multibit$";
|
||||||
|
|
||||||
|
bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param)
|
||||||
|
{
|
||||||
|
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
|
||||||
|
{
|
||||||
|
if (device_param->is_metal == true)
|
||||||
|
{
|
||||||
|
if (strncmp (device_param->device_name, "Intel", 5) == 0)
|
||||||
|
{
|
||||||
|
// Intel Iris Graphics, Metal Version 244.303: failed to create 'm22500_s04' pipeline, Compilation failed
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
u32 module_pw_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
u32 module_pw_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
||||||
{
|
{
|
||||||
const bool optimized_kernel = (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL);
|
const bool optimized_kernel = (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL);
|
||||||
@ -230,6 +247,6 @@ void module_init (module_ctx_t *module_ctx)
|
|||||||
module_ctx->module_st_hash = module_st_hash;
|
module_ctx->module_st_hash = module_st_hash;
|
||||||
module_ctx->module_st_pass = module_st_pass;
|
module_ctx->module_st_pass = module_st_pass;
|
||||||
module_ctx->module_tmp_size = MODULE_DEFAULT;
|
module_ctx->module_tmp_size = MODULE_DEFAULT;
|
||||||
module_ctx->module_unstable_warning = MODULE_DEFAULT;
|
module_ctx->module_unstable_warning = module_unstable_warning;
|
||||||
module_ctx->module_warmup_disable = MODULE_DEFAULT;
|
module_ctx->module_warmup_disable = MODULE_DEFAULT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user