Thank you very much for your support to developer! If you have any questions, please leave me a message and Xiaobian will reply you in time. The above is Xiaobian’s method of cracking zip file password with Python. Print ('It took% s seconds to crack the compressed package '%_ time-start_ time)) Print ("the current compressed password is:, password) Zfile.extractall(path='.',pwd=str(password).encode('utf-8')) Cset = 'abcdefghijklmnopqrstuvwxyz0123456789'ĭef _ init_ (self, min, max): # the iterator implements the initial method and passes in parametersĭef _ iter_ (self): # returns the slef real object directlyĭef _ next_ (self): # generate the password through continuous rotationįor i in range(0,random.randrange(self.minlen,self.maxlen+1)):įor password in myiter (1,4): # randomly iterate out 1-4-digit password, and make corresponding adjustment when the number of digits is not clear
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |