From c9e3c7abacf48ff5094855381d72f6a87e22abde Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Sun, 27 Feb 2022 10:18:54 +0100 Subject: [PATCH 1/3] remove extra spaces in main.c --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 2d0231799..874661ff2 100644 --- a/src/main.c +++ b/src/main.c @@ -522,7 +522,7 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, event_log_advice (hashcat_ctx, "will add ALL plains/collisions found, even duplicates, to the potfile."); event_log_advice (hashcat_ctx, NULL); } - + if (hashconfig->potfile_disable == true) { event_log_advice (hashcat_ctx, "ATTENTION! Potfile storage is disabled for this hash mode."); @@ -765,7 +765,7 @@ static void main_monitor_performance_hint (MAYBE_UNUSED hashcat_ctx_t *hashcat_c } } } - + event_log_advice (hashcat_ctx, "* Update your backend API runtime / driver the right way:"); event_log_advice (hashcat_ctx, " https://hashcat.net/faq/wrongdriver"); event_log_advice (hashcat_ctx, NULL); From 87638caecd59a11beed9ee3deec7bcaedd747da3 Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Sun, 27 Feb 2022 10:21:12 +0100 Subject: [PATCH 2/3] remove extra spaces at line end in -m 25400 module --- src/modules/module_25400.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module_25400.c b/src/modules/module_25400.c index e8a95135b..24b607e67 100644 --- a/src/modules/module_25400.c +++ b/src/modules/module_25400.c @@ -24,8 +24,8 @@ static const char *HASH_NAME = "PDF 1.4 - 1.6 (Acrobat 5 - 8) - user and ow static const u64 KERN_TYPE = 25400; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_NOT_ITERATED; -static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE - | OPTS_TYPE_COPY_TMPS +static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE + | OPTS_TYPE_COPY_TMPS | OPTS_TYPE_PT_ALWAYS_ASCII | OPTS_TYPE_AUTODETECT_DISABLE; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; From 56bb1b99741e5239bd7c7e2f3449539cb2446225 Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Sun, 27 Feb 2022 10:24:08 +0100 Subject: [PATCH 3/3] remove extra spaces in terminal.c --- src/terminal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index e1bf5f706..4685cd075 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -2097,9 +2097,9 @@ void status_display (hashcat_ctx_t *hashcat_ctx) { if (hashcat_status->salts_cnt > 1) { - const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; + const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; - + if (digests_new > 1) { event_log_info (hashcat_ctx, @@ -2126,13 +2126,13 @@ void status_display (hashcat_ctx_t *hashcat_ctx) hashcat_status->salts_done, hashcat_status->salts_cnt, hashcat_status->salts_percent); - } + } } else { - const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; + const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; - + if (digests_new > 1) { event_log_info (hashcat_ctx,