1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Working example of password up to length 256 for mode 2100

This commit is contained in:
jsteube 2017-06-20 17:30:07 +02:00
parent ad242c2f12
commit 83455817a7
3 changed files with 13 additions and 5 deletions

View File

@ -77,10 +77,10 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __
// do not try to simply change this, it will not work
#define PW_MIN 0
#define PW_MAX 54
#define PW_MAX 255
#define PW_MAX1 (PW_MAX + 1)
#define PW_DICTMAX 31
#define PW_DICTMAX1 (PW_DICTMAX + 1)
#define PW_DICTMAX PW_MAX
#define PW_DICTMAX1 PW_MAX1
#define HCBUFSIZ_TINY 0x1000
#define HCBUFSIZ_LARGE 0x50000
@ -91,7 +91,7 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __
#define EXEC_CACHE 128
#define SPEED_CACHE 128
#define SPEED_MAXAGE 4096
#define BLOCK_SIZE 64
#define BLOCK_SIZE PW_MAX1
#define EXPECTED_ITERATIONS 10000
#if defined (_WIN)

View File

@ -24450,6 +24450,14 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
break;
}
// converted to length 256
switch (hashconfig->hash_mode)
{
case 2100: hashconfig->pw_max = 256;
break;
}
return 0;
}

View File

@ -3255,7 +3255,7 @@ sub passthrough
{
chomp ($word_buf);
next if length ($word_buf) > 31;
next if length ($word_buf) > 256;
##
## gen salt