Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry.

This commit is contained in:
Jens Steube
2020-03-10 15:42:55 +01:00
parent 8c3808bad5
commit d706f90a75
5 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
#define MAX_DICTSTAT 100000
#define DICTSTAT_FILENAME "hashcat.dictstat2"
#define DICTSTAT_VERSION (0x6863646963743200 | 0x01)
#define DICTSTAT_VERSION (0x6863646963743200 | 0x02)
int sort_by_dictstat (const void *s1, const void *s2);
+2
View File
@@ -1656,6 +1656,8 @@ typedef struct dictstat
char encoding_from[64];
char encoding_to[64];
u8 hash_filename[16];
} dictstat_t;
typedef struct hashdump