1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic

This commit is contained in:
philsmd 2020-05-08 11:11:47 +02:00
parent 33579ae3db
commit e15e0e7b71
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
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 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: // check for "org." substring:
@ -1149,7 +1149,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_RULES ())
} }
else if (first_byte == 0x0a) // \n => bitcoinj 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: // 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 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: // check for "org." substring:
@ -559,7 +559,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_RULES ())
} }
else if (first_byte == 0x0a) // \n => bitcoinj 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: // 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 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: // check for "org." substring:
@ -1268,7 +1268,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_BASIC ())
} }
else if (first_byte == 0x0a) // \n => bitcoinj 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: // 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 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: // check for "org." substring:
@ -569,7 +569,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_BASIC ())
} }
else if (first_byte == 0x0a) // \n => bitcoinj 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: // 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 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: // 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 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: // check for "org." substring:
@ -587,7 +587,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_VECTOR ())
} }
else if (first_byte == 0x0a) // \n => bitcoinj 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: // check for "org." substring: