facebook facebook twitter rss

Password Protected (zip) File cracker

Author: Ne0-h4ck3r , Published: 31-07-2015
import zipfile
import sys
import argparse
import threading
from pyfiglet import Figlet
import os

def cls():
if os.name == "nt":
os.system('cls')
else:
os.system('clear')

cls()

# Password Protected (zip) File cracker
# ZIP file Password Cracker
# USE : python zippycrack.py --help
# USE : python zippycrack.py --file [your zip file] --password [your password List]

fig = Figlet(font="doom")
print "\t\t\nZIP File Password Cracker"
print fig.renderText('blackcoder . info')
print "\t\t\tCoded By Ne0-h4ck3r"
print "\t\t\tLove To TiGER-M@TE, F0RTYS3V3N, B3mB4m"
print ""


if __name__ == "__main__":

parser = argparse.ArgumentParser()
parser.add_argument('--file', help="Insert your ZIP file")
parser.add_argument('--password', help="Insert Password File ")
args = parser.parse_args()


def zippy(p, passwd):

eFile = zipfile.ZipFile(args.file, 'r')

try:

zipp = eFile.extractall(pwd=p)
print "[+] Password Found: " + p
os._exit(1)

except:
pass

threads = []

with open(args.password, 'r') as f:
passwd = f.read().splitlines()

for p in passwd:
t = threading.Thread(target=zippy, args=(p, passwd))
t.start()
threads.append(t)

for j in threads:
j.join()

print "[-] Faild TO Find PASSWORD s"

Like us on Facebook :