From aea5247e91ded22d41ca525005a9997ea8931532 Mon Sep 17 00:00:00 2001 From: Skydust Date: Sat, 3 Jun 2023 16:41:35 +0200 Subject: [PATCH] Fixed the code --- child_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/child_process.py b/child_process.py index aa76491..d435dac 100644 --- a/child_process.py +++ b/child_process.py @@ -126,10 +126,10 @@ def worldlist_bruteforce_partial(fileToCrack, wordlistPath, total_proc, processN line = line.rstrip() # Removes line endings # Print status every x lines read - if last_update == update_rate: + if last_update <= total_decrypt_attempts - update_rate: calculate_speed(processNumbar, start_time, last_update, line) start_time = time.time() - last_update = 0 + last_update = total_decrypt_attempts # Trying to decrypt the file for lineToDecrypt in get_lines(line):