Fixed wrong text that I just changed

This commit is contained in:
2023-06-03 16:48:54 +02:00
parent 5f39f8eaab
commit 6f2ad7a54b

View File

@@ -135,11 +135,13 @@ def worldlist_bruteforce_partial(fileToCrack, wordlistPath, total_proc, processN
for lineToDecrypt in get_lines(line): for lineToDecrypt in get_lines(line):
if decrypt_file(office_file, lineToDecrypt): # Decrypts if decrypt_file(office_file, lineToDecrypt): # Decrypts
print_thread(processNumbar, print_thread(processNumbar,
"!!FOUNDPASSWORD!! [" + lineToDecrypt + "\] !!FOUNDPASSWORD!!") "!!FOUNDPASSWORD!! " + lineToDecrypt + " !!FOUNDPASSWORD!!")
# Writes pass to file # Writes pass to file
foundPassFile = open("found.txt", "w") foundPassFile = open("found.txt", "w")
foundPassFile.write(lineToDecrypt) foundPassFile.write(lineToDecrypt)
foundPassFile.close() foundPassFile.close()
print_thread(processNumbar,
"Saved in found.txt...")
sys.exit(111) # Exit with found code sys.exit(111) # Exit with found code