2016-09-30 20:52:44 +00:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#ifndef HASHCAT_H
|
|
|
|
#define HASHCAT_H
|
2016-09-30 20:52:44 +00:00
|
|
|
|
2016-10-16 17:32:43 +00:00
|
|
|
int hashcat_init (hashcat_ctx_t *hashcat_ctx, void (*event) (const u32, struct hashcat_ctx *, const void *, const size_t));
|
|
|
|
void hashcat_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-10-14 17:25:13 +00:00
|
|
|
|
2017-04-10 20:35:01 +00:00
|
|
|
int hashcat_session_init (hashcat_ctx_t *hashcat_ctx, const char *install_folder, const char *shared_folder, int argc, char **argv, const int comptime);
|
2016-10-25 14:40:06 +00:00
|
|
|
int hashcat_session_execute (hashcat_ctx_t *hashcat_ctx);
|
2016-10-16 17:32:43 +00:00
|
|
|
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);
|
2021-05-05 20:53:04 +00:00
|
|
|
int hashcat_session_finish (hashcat_ctx_t *hashcat_ctx);
|
2016-10-16 17:32:43 +00:00
|
|
|
int hashcat_session_quit (hashcat_ctx_t *hashcat_ctx);
|
2016-10-23 15:31:22 +00:00
|
|
|
int hashcat_session_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-10-16 17:32:43 +00:00
|
|
|
|
|
|
|
char *hashcat_get_log (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
int hashcat_get_status (hashcat_ctx_t *hashcat_ctx, hashcat_status_t *hashcat_status);
|
2016-09-30 20:52:44 +00:00
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#endif // HASHCAT_H
|