2016-09-08 09:21:25 +02:00
|
|
|
/**
|
2016-09-11 22:20:15 +02:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-08 09:21:25 +02:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _STATUS_H
|
|
|
|
#define _STATUS_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2016-09-30 00:38:29 +02:00
|
|
|
#include <time.h>
|
2016-09-08 09:21:25 +02:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
2016-09-14 16:07:24 +02:00
|
|
|
double get_avg_exec_time (hc_device_param_t *device_param, const int last_num_entries);
|
|
|
|
|
2016-10-16 19:32:43 +02:00
|
|
|
char *status_get_session (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_status_string (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_hash_type (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_hash_target (const hashcat_ctx_t *hashcat_ctx);
|
2016-09-29 22:27:04 +02:00
|
|
|
|
2016-10-16 19:32:43 +02:00
|
|
|
int status_get_input_mode (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_input_base (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_input_mod (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
char *status_get_input_charset (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
int status_get_input_masks_pos (const hashcat_ctx_t *hashcat_ctx);
|
|
|
|
int status_get_input_masks_cnt (const hashcat_ctx_t *hashcat_ctx);
|
2016-09-29 23:25:29 +02:00
|
|
|
|
2016-10-16 19:32:43 +02:00
|
|
|
int status_progress_init (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
void status_progress_destroy (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
void status_progress_reset (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
|
|
|
|
int status_ctx_init (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
void status_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-09-08 09:21:25 +02:00
|
|
|
|
|
|
|
#endif // _STATUS_H
|