Fixed the code
This commit is contained in:
@@ -126,10 +126,10 @@ def worldlist_bruteforce_partial(fileToCrack, wordlistPath, total_proc, processN
|
|||||||
line = line.rstrip() # Removes line endings
|
line = line.rstrip() # Removes line endings
|
||||||
|
|
||||||
# Print status every x lines read
|
# 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)
|
calculate_speed(processNumbar, start_time, last_update, line)
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
last_update = 0
|
last_update = total_decrypt_attempts
|
||||||
|
|
||||||
# Trying to decrypt the file
|
# Trying to decrypt the file
|
||||||
for lineToDecrypt in get_lines(line):
|
for lineToDecrypt in get_lines(line):
|
||||||
|
|||||||
Reference in New Issue
Block a user