1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-05 14:59:37 +00:00

Merge pull request #2389 from philsmd/multibit_22500_fix

fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic
This commit is contained in:
Jens Steube 2020-05-08 11:41:54 +02:00 committed by GitHub
commit d34381680d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View File

@ -554,7 +554,7 @@ KERNEL_FQ void m22500_m04 (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -1149,7 +1149,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

View File

@ -263,7 +263,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -559,7 +559,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

View File

@ -613,7 +613,7 @@ KERNEL_FQ void m22500_m04 (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -1268,7 +1268,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

View File

@ -267,7 +267,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -569,7 +569,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

View File

@ -542,7 +542,7 @@ DECLSPEC void m22500 (SHM_TYPE u32a *s_te0, SHM_TYPE u32a *s_te1, SHM_TYPE u32a
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

View File

@ -276,7 +276,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_VECTOR ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -587,7 +587,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_VECTOR ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring: