This commit is contained in:
2019-12-22 12:03:07 +01:00
parent 320d615bea
commit 7926b309e2
14 changed files with 196 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ def tryPassword(pw):
try:
decrypted = cipher.decrypt(encrypted)
print(decrypted.decode('utf-8'))
exit(0)
return True
except Exception as e:
print(str(e))
@@ -37,8 +38,8 @@ def tryPassword(pw):
def doWork():
while not PASSWORD_QUEUE.empty():
pw = PASSWORD_QUEUE.get()
if tryPassword(pw):
print("Done?")
tryPassword(pw)
with open("/usr/share/wordlists/SecLists/Passwords/Leaked-Databases/rockyou.txt", "rb") as f:
for pw in f.readlines():