Skip to content

Instantly share code, notes, and snippets.

View arjahanifard's full-sized avatar
🏠
Working from home

alireza jahani arjahanifard

🏠
Working from home
View GitHub Profile
@arjahanifard
arjahanifard / random_password.py
Created March 29, 2018 20:14
ساخت کلمه عبور اتفاقی
import random,os,sys
def clear():
if os.name == 'nt':
os.system('cls')
else:
os.system('clear')
def show_help():
print("""
###### HELP ######
baray khoroj az barname "q" ra vared konid
@arjahanifard
arjahanifard / crack_password_zipfile.py
Last active March 29, 2018 19:33
کد فایل بسیار ساده برای باز کردن کلمه عبور فایلهای زیپ
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: