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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.