1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

Fix out of bounds access in -m 7500

This commit is contained in:
Jens Steube 2016-01-14 22:13:06 +01:00
parent f3b85a6363
commit ed91e69ae3
4 changed files with 12 additions and 12 deletions

View File

@ -8,10 +8,10 @@
#include "include/constants.h"
#include "include/kernel_vendor.h"
#define DGST_R0 3
#define DGST_R1 7
#define DGST_R0 0
#define DGST_R1 1
#define DGST_R2 2
#define DGST_R3 6
#define DGST_R3 3
#include "include/kernel_functions.c"
#include "OpenCL/types_ocl.c"

View File

@ -8,10 +8,10 @@
#include "include/constants.h"
#include "include/kernel_vendor.h"
#define DGST_R0 3
#define DGST_R1 7
#define DGST_R0 0
#define DGST_R1 1
#define DGST_R2 2
#define DGST_R3 6
#define DGST_R3 3
#include "include/kernel_functions.c"
#include "OpenCL/types_ocl.c"

View File

@ -8,10 +8,10 @@
#include "include/constants.h"
#include "include/kernel_vendor.h"
#define DGST_R0 3
#define DGST_R1 7
#define DGST_R0 0
#define DGST_R1 1
#define DGST_R2 2
#define DGST_R3 6
#define DGST_R3 3
#include "include/kernel_functions.c"
#include "OpenCL/types_ocl.c"

View File

@ -8813,10 +8813,10 @@ int main (int argc, char **argv)
sort_by_digest = sort_by_digest_4_4;
opti_type = OPTI_TYPE_ZERO_BYTE
| OPTI_TYPE_NOT_ITERATED;
dgst_pos0 = 3;
dgst_pos1 = 7;
dgst_pos0 = 0;
dgst_pos1 = 1;
dgst_pos2 = 2;
dgst_pos3 = 6;
dgst_pos3 = 3;
break;
case 7600: hash_type = HASH_TYPE_SHA1;