1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-22 20:42:07 +00:00

Hexify plains with delimiter

Hexify plains if the plain contains the : separator
This commit is contained in:
TheWorkingDeveloper 2021-06-26 23:53:04 +02:00 committed by GitHub
parent dcaba1f473
commit 1bf3392b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,14 +23,17 @@ static void debugfile_format_plain (hashcat_ctx_t *hashcat_ctx, const u8 *plain_
if (plain_ptr[i] < 0x20) if (plain_ptr[i] < 0x20)
{ {
needs_hexify = 1; needs_hexify = 1;
break; break;
} }
if (plain_ptr[i] > 0x7f) if (plain_ptr[i] > 0x7f)
{ {
needs_hexify = 1; needs_hexify = 1;
break;
}
if (plain_ptr[i] == 0x3a)
{
needs_hexify = 1;
break; break;
} }
} }