diff --git a/crackers/unzip.py b/crackers/unzip.py index 79333ab..fff6877 100644 --- a/crackers/unzip.py +++ b/crackers/unzip.py @@ -4,7 +4,7 @@ from threading import Thread def extractFile(zFile, password): try: - zFile.extractall(pwd=password) + zFile.extractall(pwd=bytes(password, 'utf-8')) print('[+] Password = ' + password + "\n") except: pass @@ -25,5 +25,5 @@ def main(): password = line.strip('\n') t = Thread(target=extractFile, args=(zFile, password)) t.start() -if __name__ == '___main__': +if __name__ == '__main__': main()