mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-07 08:38:48 +00:00
Do stdin read timeout check only in case no data has been processed
This commit is contained in:
parent
d96b649751
commit
d4123333c0
@ -285,6 +285,8 @@ static int monitor (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
// stdin read timeout check
|
// stdin read timeout check
|
||||||
|
|
||||||
|
if (status_get_progress_done (hashcat_ctx) == 0)
|
||||||
|
{
|
||||||
if (status_ctx->stdin_read_timeout_cnt >= STDIN_TIMEOUT_MIN)
|
if (status_ctx->stdin_read_timeout_cnt >= STDIN_TIMEOUT_MIN)
|
||||||
{
|
{
|
||||||
if (status_ctx->stdin_read_timeout_cnt >= STDIN_TIMEOUT_MAX)
|
if (status_ctx->stdin_read_timeout_cnt >= STDIN_TIMEOUT_MAX)
|
||||||
@ -304,6 +306,7 @@ static int monitor (hashcat_ctx_t *hashcat_ctx)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// final round of save_hash
|
// final round of save_hash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user