mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 13:40:56 +00:00
Fixed runtime limit: No longer required so sample startup time after refactorization
This commit is contained in:
parent
992bc01f3c
commit
038b915e2d
@ -34,6 +34,7 @@
|
||||
- Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks
|
||||
- Fixed parsing of hashes in case the last line did not include a linefeed character
|
||||
- Fixed potfile loading to accept blank passwords
|
||||
- Fixed runtime limit: No longer required so sample startup time after refactorization
|
||||
|
||||
##
|
||||
## Workarounds
|
||||
|
@ -1707,9 +1707,6 @@ typedef struct status_ctx
|
||||
time_t runtime_start;
|
||||
time_t runtime_stop;
|
||||
|
||||
time_t prepare_start;
|
||||
time_t prepare_time;
|
||||
|
||||
hc_timer_t timer_running; // timer on current dict
|
||||
hc_timer_t timer_paused; // timer on current dict
|
||||
|
||||
|
@ -208,8 +208,6 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
status_ctx->runtime_start = runtime_start;
|
||||
|
||||
status_ctx->prepare_time = runtime_start - status_ctx->prepare_start;
|
||||
|
||||
/**
|
||||
* create cracker threads
|
||||
*/
|
||||
@ -262,8 +260,6 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
logfile_sub_uint (runtime_start);
|
||||
logfile_sub_uint (runtime_stop);
|
||||
|
||||
time (&status_ctx->prepare_start);
|
||||
|
||||
hashcat_get_status (hashcat_ctx, status_ctx->hashcat_status_final);
|
||||
|
||||
status_ctx->accessible = false;
|
||||
@ -395,12 +391,6 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
status_ctx->run_thread_level1 = true;
|
||||
status_ctx->run_thread_level2 = true;
|
||||
|
||||
/**
|
||||
* setup prepare timer
|
||||
*/
|
||||
|
||||
time (&status_ctx->prepare_start);
|
||||
|
||||
/**
|
||||
* setup variables and buffers depending on hash_mode
|
||||
*/
|
||||
|
@ -35,7 +35,6 @@ int get_runtime_left (const hashcat_ctx_t *hashcat_ctx)
|
||||
time (&runtime_cur);
|
||||
|
||||
const int runtime_left = (int) (status_ctx->runtime_start
|
||||
+ status_ctx->prepare_time
|
||||
+ user_options->runtime
|
||||
+ (msec_paused / 1000)
|
||||
- runtime_cur);
|
||||
|
Loading…
Reference in New Issue
Block a user