i am getting error "expected bytes, got str"
here is the python code:
----------------------
here is the python code:
----------------------
import zipfile zFile = zipfile.ZipFile("evil.zip") passFile = open('dictionary.txt') for line in passFile.readlines(): password = line.strip('\n') try: zFile.extractall(pwd=password) print('[+] Password = ' + password + '\n') exit(0) except Exception as e: print(e)------------------------