1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

Merge pull request #3879 from PenguinKeeper7/base-58-fix

Fix base58 charset check
This commit is contained in:
Jens Steube 2023-09-21 12:44:32 +02:00 committed by GitHub
commit a46c9cb812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) '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;
}