Fixed wrong text that I just changed
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user