Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from zipfile import ZipFile
- for a in range(0,1000):
- try:
- x = str(a)
- while len(x)<3:
- x="0"+x
- with ZipFile('/tmp/alien-zip-2092.zip') as zf:
- zf.extractall('/tmp/',pwd=str(x))
- except Exception as ex:
- if ex[0] != 'Bad password for file':
- print x, ex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement