hashcat Forum
Restore File Parsing - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html)
+--- Thread: Restore File Parsing (/thread-3297.html)



Restore File Parsing - richk - 04-11-2014

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?


RE: Restore File Parsing - richk - 04-11-2014

(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?


RE: Restore File Parsing - hypn0s - 04-11-2014

The 1.20 version is still in beta.


RE: Restore File Parsing - richk - 04-11-2014

(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.