Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /usr/bin/env python
- import zipfile
- zFile = zipfile.ZipFile('evil.zip')
- passFile = open('dictionary.txt')
- for line in passFile.readlines():
- password = line.strip('\n')
- try:
- zFile.extractall(pwd=password)
- print '[+] Password = ' + password + '\n'
- exit(0)
- except Exception, e:
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement