From a509221868086f17d7c1adf2d4146809c6d586c7 Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 28 Feb 2017 11:56:27 +0100 Subject: [PATCH] Fix password candidate generation for test.pl for mode 14000 and 14100 --- tools/test.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test.pl b/tools/test.pl index 2d8379f10..2749722b7 100755 --- a/tools/test.pl +++ b/tools/test.pl @@ -8069,6 +8069,11 @@ sub rnd { my $c = get_random_chr (0x30, 0x39); + if (($mode == 14000) || ($mode == 14100)) + { + $c &= 0xfe; + } + push (@word_arr, $c); }