hashcat Forum
Need add change to module m16600_a3-pure.cl - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: Need add change to module m16600_a3-pure.cl (/thread-11860.html)



Need add change to module m16600_a3-pure.cl - Layder - 03-19-2024

hashcat have problem with check pass results at new Electrum wallets (v3, not crypted)
wallet is have xprv string, beginned from "zprv", instead of "xprv", and hashcat can't find it.

hashcat need add check at module
https://github.com/hashcat/hashcat/blob/master/OpenCL/m16600_a3-pure.cl

from line 447 like this

if ((u8) (out[0] >> 0) != 'x') continue;
if ((u8) (out[0] >> 0) != 'z') continue;
if ((u8) (out[0] >> 8) != 'p') continue;
if ((u8) (out[0] >> 16) != 'r') continue;
if ((u8) (out[0] >> 24) != 'v') continue;

to check first symbol 'x' or 'z'


test hash: $electrum$2*e9167d9fa7636732570277877812e1e8*be6e7ebbe2d80f5b78144597578fa4b5
test pass: bitcoin3879549
-m 16600


RE: Need add change to module m16600_a3-pure.cl - Layder - 03-19-2024

I was changed at all m1600 modules
from

if ((u8) (out[0] >> 0) != 'х') continue;

to

if ((u8) (out[0] >> 0) != 'х' or != 'z') continue;

work fine


RE: Need add change to module m16600_a3-pure.cl - Layder - 03-19-2024

I'm a lamer, chatGPT fixed it.

if (((u8) (out[0] >> 0)) != 'х' || ((u8) (out[0] >> 0)) != 'z') continue;


RE: Need add change to module m16600_a3-pure.cl - Layder - 03-19-2024

if (((u8) (out[0] >> 0)) != 'х' && ((u8) (out[0] >> 0)) != 'z') continue;

for all modules

m16600_a0-optimized.cl
m16600_a0-pure.cl
m16600_a1-optimized.cl
m16600_a1-pure.cl
m16600_a3-optimized.cl
m16600_a3-pure.cl