1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Merge pull request #2854 from TheWorkingDeveloper/patch-1

Hexify plains with delimiter in debug rules
This commit is contained in:
Jens Steube 2021-06-27 10:37:38 +02:00 committed by GitHub
commit 3b07f90524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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