Updated some comments and moved a global variable

This commit is contained in:
2023-06-03 16:55:06 +02:00
parent 6f2ad7a54b
commit f607839e7d
2 changed files with 10 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ from child_process import worldlist_bruteforce_partial
fileToCrack = "Base_MPP_Ouest_2013.xls" # The file to crack
wordlistPath = "rockyou.txt" # The wordlist to use
num_threads = 16 # Number of processes to launch (should be the same as your number of cpu cores)
update_rate = 100000 # Everytime the program needs to remind you what its doing
# =============================== #
@@ -35,7 +36,7 @@ def run_processes():
end_pos = start_pos + chunk_size
process = multiprocessing.Process(target=worldlist_bruteforce_partial,
args=(fileToCrack, wordlistPath, num_threads, i + 1, start_pos, end_pos))
args=(fileToCrack, wordlistPath, num_threads, update_rate, i + 1, start_pos, end_pos))
process.start()
processes.append(process)