mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Fix for invalid error "Restore value greater keyspace"
This commit is contained in:
parent
9b60d34eaf
commit
d6b7b39515
@ -77,6 +77,8 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
status_progress_reset (hashcat_ctx);
|
||||
|
||||
status_ctx->msec_paused = 0;
|
||||
|
||||
status_ctx->words_off = 0;
|
||||
status_ctx->words_cur = 0;
|
||||
|
||||
@ -103,8 +105,6 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
user_options->skip = 0;
|
||||
}
|
||||
|
||||
status_ctx->msec_paused = 0;
|
||||
|
||||
opencl_session_reset (hashcat_ctx);
|
||||
|
||||
cpt_ctx_reset (hashcat_ctx);
|
||||
|
@ -273,6 +273,10 @@ static int write_restore (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
fclose (fp);
|
||||
|
||||
rd->masks_pos = 0;
|
||||
rd->dicts_pos = 0;
|
||||
rd->words_cur = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1547,6 +1547,9 @@ int status_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
||||
status_ctx->run_thread_level1 = true;
|
||||
status_ctx->run_thread_level2 = true;
|
||||
|
||||
status_ctx->shutdown_inner = false;
|
||||
status_ctx->shutdown_outer = false;
|
||||
|
||||
status_ctx->checkpoint_shutdown = false;
|
||||
|
||||
hc_thread_mutex_init (status_ctx->mux_dispatcher);
|
||||
|
Loading…
Reference in New Issue
Block a user