

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Create file python to decryptFile Challenge bellow: import os import pyAesCrypt import sys target_file = "challenge.txt.aes"
bufferSize = 128 * 1024
with open("xato-net- 10 - million-passwords-1000000.txt",'r')as fob: lines_list = fob.readlines() for line in lines_list: pwd = line.strip("/n") try: #try to decypt pyAesCrypt.decryptFile("challenge.txt.aes", "challenge.txt", pwd, bufferSize)
print(pwd) break except ValueError as ve: #print(ve) continue Result: File challenge before not yet decode
File challenge after run program