1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-08 15:48:15 +00:00

Modules: Updated module_unstable_warning for hash-mode 1500, 3000, 14000

This commit is contained in:
Gabriele Gristina 2025-06-15 16:17:13 +02:00
parent 07395626fa
commit c61c1f48c4
No known key found for this signature in database
GPG Key ID: 9F68B59298F311F0
3 changed files with 32 additions and 2 deletions

View File

@ -46,9 +46,21 @@ const char *module_st_pass (MAYBE_UNUSED const hashconfig_t *hashconfig,
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)
{
// Intel(R) Xeon(R) W-3223 CPU @ 3.50GHz; OpenCL C 1.2; 11.3.1; 20E241
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE || device_param->opencl_platform_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU))
if (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU)
{
if (device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE)
{
// works on Apple Intel: Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
return false;
}
if (strncmp (device_param->device_name, "AMD EPYC", 8) == 0)
{
// works on Linux: AMD EPYC 7642 48-Core Processor, OpenCL 2.1 (Build 0)
return false;
}
// skip by default for now
return true;
}

View File

@ -54,6 +54,15 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
// Intel(R) Xeon(R) W-3223 CPU @ 3.50GHz; OpenCL C 1.2; 11.3.1; 20E241
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE || device_param->opencl_platform_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU))
{
if (strncmp (device_param->device_name, "AMD EPYC", 8) == 0)
{
// works on: AMD EPYC 7642 48-Core Processor, OpenCL 2.1 (Build 0)
return false;
}
// fail also on Apple Intel
// skip by default for now
return true;
}

View File

@ -49,6 +49,15 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
// Intel(R) Xeon(R) W-3223 CPU @ 3.50GHz; OpenCL C 1.2; 11.3.1; 20E241
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE || device_param->opencl_platform_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU))
{
if (strncmp (device_param->device_name, "AMD EPYC", 8) == 0)
{
// works on: AMD EPYC 7642 48-Core Processor, OpenCL 2.1 (Build 0)
return false;
}
// fail also on Apple Intel
// skip by default for now
return true;
}