mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-09 07:11:03 +00:00
Alias Devices: Show a warning in case the user specifically listed a device to use which in a later step is skipped because it is an alias of another active device
This commit is contained in:
parent
a7a3cf024e
commit
2d7f67fd23
@ -10,6 +10,7 @@
|
|||||||
## Improvements
|
## Improvements
|
||||||
##
|
##
|
||||||
|
|
||||||
|
- Alias Devices: Show a warning in case the user specifically listed a device to use which in a later step is skipped because it is an alias of another active device
|
||||||
- Backend Information: Added new column showing the PCI Address per CUDA/OpenCL device to easier identify broken cards
|
- Backend Information: Added new column showing the PCI Address per CUDA/OpenCL device to easier identify broken cards
|
||||||
|
|
||||||
* changes v6.2.1 -> v6.2.2
|
* changes v6.2.1 -> v6.2.2
|
||||||
|
@ -131,6 +131,17 @@ static int backend_ctx_find_alias_devices (hashcat_ctx_t *hashcat_ctx)
|
|||||||
backend_ctx->opencl_devices_active--;
|
backend_ctx->opencl_devices_active--;
|
||||||
|
|
||||||
backend_ctx->backend_devices_active--;
|
backend_ctx->backend_devices_active--;
|
||||||
|
|
||||||
|
// show a warning for specifically listed devices if they are an alias
|
||||||
|
|
||||||
|
if (backend_ctx->backend_devices_filter != (u64) -1)
|
||||||
|
{
|
||||||
|
if (backend_ctx->backend_devices_filter & (1ULL << alias_device->device_id))
|
||||||
|
{
|
||||||
|
event_log_warning (hashcat_ctx, "The device #%d specifically listed was skipped because it is an alias of device #%d", alias_device->device_id + 1, backend_device->device_id + 1);
|
||||||
|
event_log_warning (hashcat_ctx, NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user