Skip to content

Commit

Permalink
Update ZIP_PW_CRACKER.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DIRKGM committed Aug 11, 2020
1 parent 0f68429 commit 72b831f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions ZIP_PW_CRACKER.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##############################################################################
# #
# ZIP Password Cracker #
# DGM #
# #
# #
##############################################################################
import zipfile
Expand All @@ -13,14 +13,13 @@
def crack(zip, pwd):
try:
zip.extractall(pwd=str.encode(pwd))
print('Sucesess: Paswword is' + pwd)
print('Sucesess: Paswword is:' + pwd)
except:
if pwd == "abc":
traceback.print_exc()

zipfile=zipfile.ZipFile("ZipFile Path")
myletters = string.ascii_letters + string.digits + string.punctuation
for i in range (3,10)
for j in map(''.join, itertolls.product(AB´, repeat=3)):
pass

zipfile=zipfile.ZipFile("ZipFile Path") <--Zipfile Pfad eintragen-->
myletters = string.ascii_letters + string.digits + string.punctuation <-- Buchstaben, Zahlen, Sonderzeichen-->
for i in range (1,10) <--Password Länge-->
for j in map(''.join, itertolls.product(myletters, repeat=i)):
t=Thread(target=crack, args=(zipfile, j))
t.start()

0 comments on commit 72b831f

Please sign in to comment.