mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 04:23:06 +00:00
Let monitor.c check for feature modularity
This commit is contained in:
parent
4aebe51407
commit
db556d31d5
@ -36,18 +36,18 @@ extern hc_global_data_t data;
|
|||||||
|
|
||||||
void *thread_monitor (void *p)
|
void *thread_monitor (void *p)
|
||||||
{
|
{
|
||||||
restore_ctx_t *restore_ctx = data.restore_ctx;
|
combinator_ctx_t *combinator_ctx = data.combinator_ctx;
|
||||||
user_options_t *user_options = data.user_options;
|
cpt_ctx_t *cpt_ctx = data.cpt_ctx;
|
||||||
user_options_extra_t *user_options_extra = data.user_options_extra;
|
|
||||||
hashconfig_t *hashconfig = data.hashconfig;
|
hashconfig_t *hashconfig = data.hashconfig;
|
||||||
hashes_t *hashes = data.hashes;
|
hashes_t *hashes = data.hashes;
|
||||||
cpt_ctx_t *cpt_ctx = data.cpt_ctx;
|
hwmon_ctx_t *hwmon_ctx = data.hwmon_ctx;
|
||||||
straight_ctx_t *straight_ctx = data.straight_ctx;
|
|
||||||
combinator_ctx_t *combinator_ctx = data.combinator_ctx;
|
|
||||||
mask_ctx_t *mask_ctx = data.mask_ctx;
|
mask_ctx_t *mask_ctx = data.mask_ctx;
|
||||||
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
||||||
hwmon_ctx_t *hwmon_ctx = data.hwmon_ctx;
|
restore_ctx_t *restore_ctx = data.restore_ctx;
|
||||||
status_ctx_t *status_ctx = data.status_ctx;
|
status_ctx_t *status_ctx = data.status_ctx;
|
||||||
|
straight_ctx_t *straight_ctx = data.straight_ctx;
|
||||||
|
user_options_extra_t *user_options_extra = data.user_options_extra;
|
||||||
|
user_options_t *user_options = data.user_options;
|
||||||
|
|
||||||
bool runtime_check = false;
|
bool runtime_check = false;
|
||||||
bool remove_check = false;
|
bool remove_check = false;
|
||||||
@ -65,7 +65,7 @@ void *thread_monitor (void *p)
|
|||||||
runtime_check = true;
|
runtime_check = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user_options->restore_timer)
|
if (restore_ctx->enabled == true)
|
||||||
{
|
{
|
||||||
restore_check = true;
|
restore_check = true;
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ void *thread_monitor (void *p)
|
|||||||
status_check = true;
|
status_check = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user_options->gpu_temp_disable == false)
|
if (hwmon_ctx->enabled == true)
|
||||||
{
|
{
|
||||||
hwmon_check = true;
|
hwmon_check = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user