2016-09-07 20:01:34 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-07 20:01:34 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#ifndef RESTORE_H
|
|
|
|
#define RESTORE_H
|
2016-09-07 20:01:34 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
2016-09-07 20:29:57 +00:00
|
|
|
#if defined (_WIN)
|
2016-09-07 20:01:34 +00:00
|
|
|
#include <windows.h>
|
2016-09-07 20:04:04 +00:00
|
|
|
#include <psapi.h>
|
2016-09-07 20:01:34 +00:00
|
|
|
#endif // _WIN
|
|
|
|
|
2020-06-16 15:30:11 +00:00
|
|
|
#define RESTORE_VERSION_MIN 600
|
2020-07-29 10:16:53 +00:00
|
|
|
#define RESTORE_VERSION_CUR 611
|
2016-09-07 20:01:34 +00:00
|
|
|
|
2016-10-09 20:41:55 +00:00
|
|
|
int cycle_restore (hashcat_ctx_t *hashcat_ctx);
|
2016-09-07 20:01:34 +00:00
|
|
|
|
2016-10-06 14:34:30 +00:00
|
|
|
void unlink_restore (hashcat_ctx_t *hashcat_ctx);
|
2016-10-04 09:03:20 +00:00
|
|
|
|
2016-10-06 14:34:30 +00:00
|
|
|
int restore_ctx_init (hashcat_ctx_t *hashcat_ctx, int argc, char **argv);
|
2016-09-24 23:02:44 +00:00
|
|
|
|
2016-10-06 14:34:30 +00:00
|
|
|
void restore_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-09-14 14:07:24 +00:00
|
|
|
|
2023-01-17 19:25:40 +00:00
|
|
|
#endif // RESTORE_H
|