Last active
March 29, 2018 19:33
-
-
Save jahanideveloper/43e06458d5ef5b3317ce9295b5b7239c to your computer and use it in GitHub Desktop.
کد فایل بسیار ساده برای باز کردن کلمه عبور فایلهای زیپ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zipfile | |
zfile = zipfile.ZipFile('uti.zip','r') | |
passfile = open('uti.txt','rb') | |
count = 0 | |
for line in passfile: | |
password = line.strip() | |
try: | |
zfile.extractall(pwd=password) | |
break | |
except Exception: | |
count+=1 | |
print("{} check!".format(count) ) | |
print('[+] Password =',password) |
Author
jahanideveloper
commented
Mar 29, 2018
•
به جای
`uti.zip`
اسم فایل خود را قرار دهید و به جای
`uti.txt`
دیکشنری از کلمه های عبور را به برنامه بدید
با یک جستجو کوچک در اینترنت میتونید کلمه عبور آماده پیدا کنید
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment