mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 22:58:30 +00:00
fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic
This commit is contained in:
parent
33579ae3db
commit
e15e0e7b71
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user