hashcat Forum

Full Version: Need add change to module m16600_a3-pure.cl
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/...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
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
I'm a lamer, chatGPT fixed it.

if (((u8) (out[0] >> 0)) != 'х' || ((u8) (out[0] >> 0)) != 'z') continue;
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