import zipfile
import os
import sys
import time

def main():
    zip_file = input("Enter the zip file name: ")
    wordlist = input("Enter the wordlist file name: ")
    zip_file = zipfile.ZipFile(zip_file)
    wordlist = open(wordlist, 'r')
    for line in wordlist.readlines():
        password = line.strip('\n')
        try:
            zip_file.extractall(pwd=password)
            print("Password found: {}".format(password))
            break
        except:
            print("Password not found: {}".format(password))
            time.sleep(1)
            continue
    zip_file.close()
    wordlist.close()

if __name__ == '__main__':
    main()


# By SleepTheGod
# Im not gay stop tagging me in your tranny twitter world I like real women