Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards
This commit is contained in:
@@ -15,6 +15,7 @@ int hashcat_session_pause (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_resume (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_bypass (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_checkpoint (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_finish (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_quit (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashcat_session_destroy (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
|
||||
@@ -77,11 +77,13 @@ void hc_signal (void (callback) (int));
|
||||
int mycracked (hashcat_ctx_t *hashcat_ctx);
|
||||
int myabort_runtime (hashcat_ctx_t *hashcat_ctx);
|
||||
int myabort_checkpoint (hashcat_ctx_t *hashcat_ctx);
|
||||
int myabort_finish (hashcat_ctx_t *hashcat_ctx);
|
||||
int myabort (hashcat_ctx_t *hashcat_ctx);
|
||||
int myquit (hashcat_ctx_t *hashcat_ctx);
|
||||
int bypass (hashcat_ctx_t *hashcat_ctx);
|
||||
int SuspendThreads (hashcat_ctx_t *hashcat_ctx);
|
||||
int ResumeThreads (hashcat_ctx_t *hashcat_ctx);
|
||||
int stop_at_checkpoint (hashcat_ctx_t *hashcat_ctx);
|
||||
int finish_after_attack (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
#endif // _THREAD_H
|
||||
|
||||
@@ -209,6 +209,7 @@ typedef enum status_rc
|
||||
STATUS_ABORTED_CHECKPOINT = 10,
|
||||
STATUS_ABORTED_RUNTIME = 11,
|
||||
STATUS_ERROR = 13,
|
||||
STATUS_ABORTED_FINISH = 14,
|
||||
|
||||
} status_rc_t;
|
||||
|
||||
@@ -2348,6 +2349,7 @@ typedef struct status_ctx
|
||||
bool shutdown_outer;
|
||||
|
||||
bool checkpoint_shutdown;
|
||||
bool finish_shutdown;
|
||||
|
||||
hc_thread_mutex_t mux_dispatcher;
|
||||
hc_thread_mutex_t mux_counter;
|
||||
|
||||
Reference in New Issue
Block a user