From 77d9a8deb2ed724c084c500ef6046bc182f84776 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 27 Jun 2021 10:43:23 +0200 Subject: [PATCH] minor whitespace fixes and changes.txt update --- docs/changes.txt | 1 + src/debugfile.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 5ec1ce1a4..45c0dbce8 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -35,6 +35,7 @@ - Alias Devices: Show a warning in case the user specifically listed a device to use which in a later step is skipped because it is an alias of another active device - Backend Information: Added new column showing the PCI Address per CUDA/OpenCL device to easier identify broken cards +- Debug Rules: HEX-ify rules debug non-rules outputs that contain colons - VeraCrypt: Increase password length support for non-boot volumes from 64 to 128 ## diff --git a/src/debugfile.c b/src/debugfile.c index 790b81efd..aaaed1822 100644 --- a/src/debugfile.c +++ b/src/debugfile.c @@ -23,18 +23,21 @@ 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; } }