Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Restore File Parsing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I having trouble parsing the restore file. Which struct is correct in the wiki pages? This one:

typedef struct
{
uint32_t version_bin;
char cwd[256];
uint32_t argc;
char **argv;
uint32_t pid;

uint32_t devices_cnt;

uint32_t dictpos;
uint32_t maskpos;

uint64_t *pw_off;
uint64_t *pw_num;
uint64_t pw_cur;

uint32_t digests_cnt;
uint32_t digests_done;
uint *digests_shown;

uint32_t salts_cnt;
uint32_t salts_done;
uint *salts_shown;

float ms_running;

} restore_data_t;


or this one:

typedef struct
{
uint32_t version_bin;
char cwd[256];
uint32_t pid;

uint32_t dictpos;
uint32_t maskpos;

uint64_t pw_cur;

uint32_t argc;
char **argv;

} restore_data_t;


I'm running the current oclHashcat 1.01, and my restore file values do not seem to be in the same order as indicated. Also, the wiki mentions if the version is 1.20. Does 1.20 exist? What am I missing here?
(04-11-2014, 06:01 PM)richk Wrote: [ -> ]I having trouble parsing the restore file. Which struct is correct in the wiki pages? This one:

typedef struct
{
uint32_t version_bin;
char cwd[256];
uint32_t argc;
char **argv;
uint32_t pid;

uint32_t devices_cnt;

uint32_t dictpos;
uint32_t maskpos;

uint64_t *pw_off;
uint64_t *pw_num;
uint64_t pw_cur;

uint32_t digests_cnt;
uint32_t digests_done;
uint *digests_shown;

uint32_t salts_cnt;
uint32_t salts_done;
uint *salts_shown;

float ms_running;

} restore_data_t;


or this one:

typedef struct
{
uint32_t version_bin;
char cwd[256];
uint32_t pid;

uint32_t dictpos;
uint32_t maskpos;

uint64_t pw_cur;

uint32_t argc;
char **argv;

} restore_data_t;


I'm running the current oclHashcat 1.01, and my restore file values do not seem to be in the same order as indicated. Also, the wiki mentions if the version is 1.20. Does 1.20 exist? What am I missing here?

Well I answered my own question. It's the first one. Still, is there a version 1.20 or is that a typo?
The 1.20 version is still in beta.
(04-11-2014, 06:21 PM)hypn0s Wrote: [ -> ]The 1.20 version is still in beta.

Got it. Thanks! I'm new here so I took the wiki information to mean that it was already out there somewhere.