1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 03:18:30 +00:00

switch hash-mode from 4720 to 21100

This commit is contained in:
Gabriele Gristina 2019-07-30 15:19:22 +02:00
parent 9502705c03
commit 8f236f9609
5 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@
#define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf]) #define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf])
#endif #endif
KERNEL_FQ void m04720_mxx (KERN_ATTR_RULES ()) KERNEL_FQ void m21100_mxx (KERN_ATTR_RULES ())
{ {
/** /**
* modifier * modifier
@ -146,7 +146,7 @@ KERNEL_FQ void m04720_mxx (KERN_ATTR_RULES ())
} }
} }
KERNEL_FQ void m04720_sxx (KERN_ATTR_RULES ()) KERNEL_FQ void m21100_sxx (KERN_ATTR_RULES ())
{ {
/** /**
* modifier * modifier

View File

@ -27,7 +27,7 @@
#define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf]) #define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf])
#endif #endif
KERNEL_FQ void m04720_mxx (KERN_ATTR_BASIC ()) KERNEL_FQ void m21100_mxx (KERN_ATTR_BASIC ())
{ {
/** /**
* modifier * modifier
@ -142,7 +142,7 @@ KERNEL_FQ void m04720_mxx (KERN_ATTR_BASIC ())
} }
} }
KERNEL_FQ void m04720_sxx (KERN_ATTR_BASIC ()) KERNEL_FQ void m21100_sxx (KERN_ATTR_BASIC ())
{ {
/** /**
* modifier * modifier

View File

@ -27,7 +27,7 @@
#define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf]) #define uint_to_hex_lower8_le(i) make_u32x (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf])
#endif #endif
KERNEL_FQ void m04720_mxx (KERN_ATTR_VECTOR ()) KERNEL_FQ void m21100_mxx (KERN_ATTR_VECTOR ())
{ {
/** /**
* modifier * modifier
@ -155,7 +155,7 @@ KERNEL_FQ void m04720_mxx (KERN_ATTR_VECTOR ())
} }
} }
KERNEL_FQ void m04720_sxx (KERN_ATTR_VECTOR ()) KERNEL_FQ void m21100_sxx (KERN_ATTR_VECTOR ())
{ {
/** /**
* modifier * modifier

View File

@ -18,7 +18,7 @@ static const u32 DGST_POS3 = 1;
static const u32 DGST_SIZE = DGST_SIZE_4_5; static const u32 DGST_SIZE = DGST_SIZE_4_5;
static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_HASH_SALTED; static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_HASH_SALTED;
static const char *HASH_NAME = "sha1(md5($pass.$salt))"; static const char *HASH_NAME = "sha1(md5($pass.$salt))";
static const u64 KERN_TYPE = 4720; static const u64 KERN_TYPE = 21100;
static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE
| OPTI_TYPE_PRECOMPUTE_INIT | OPTI_TYPE_PRECOMPUTE_INIT
| OPTI_TYPE_EARLY_SKIP | OPTI_TYPE_EARLY_SKIP