mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Merge pull request #3879 from PenguinKeeper7/base-58-fix
Fix base58 charset check
This commit is contained in:
commit
a46c9cb812
@ -2815,6 +2815,11 @@ DECLSPEC int is_valid_base58_8 (const u8 v)
|
|||||||
if ((v > (u8) '9') && (v < (u8) 'A')) return 0;
|
if ((v > (u8) '9') && (v < (u8) 'A')) return 0;
|
||||||
if ((v > (u8) 'Z') && (v < (u8) 'a')) return 0;
|
if ((v > (u8) 'Z') && (v < (u8) 'a')) return 0;
|
||||||
|
|
||||||
|
// https://github.com/hashcat/hashcat/issues/3878
|
||||||
|
if (v == 'O') return 0;
|
||||||
|
if (v == 'I') return 0;
|
||||||
|
if (v == 'l') return 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user