Updated some comments and moved a global variable
This commit is contained in:
3
main.py
3
main.py
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user