I. excel access password
Encryption Algorithm cipher Algorithm="AES"
Detailed introduction and implementation of AES encryption algorithm
Second, the idea of password lifting
Finding by permutation
Note: This method is more testing on the selection of the password dictionary, and time-consuming, only for reference to learn!
The folder is shown in the figure:
Put the file to be cracked into the excel folder.
III. Python
Add the prepared dictionary of passwords to the middle password followed by "," separated by ","!!!!
Part of the dictionary is as follows (example)
[Conf] path=./excel/ password=12345678,1234,qwerty,12345,dragon,pussy,baseball,football,letmein,monkey,696969,abc123,mustang,michael,shadow,master,jennifer,111111,2000,jordan,superman,harley,1234567,fuckme,hunter,fuckyou,trustno1,ranger,buster,thomas,tigger,robert,soccer,fuck,batman,test,pass,killer,hockey,george,charlie,andrew,michelle,love,sunshine,jessica,asshole,6969,pepper,daniel,access,123456789,654321,joshua,maggie,starwars,silver,william,dallas,yankees,123123,ashley,666666,hello,amanda,orange,biteme,freedom,computer,sexy,thunder,nicole,ginger,heather,hammer,summer,corvette,taylor,fucker,austin,1111,merlin,matthew,121212,golfer,cheese,princess,martin,chelsea,patrick,richard,diamond,yellow,bigdog,secret,asdfgh,sparky,cowboy,camaro,anthony,matrix,falcon,iloveyou,bailey,guitar,jackson,purple,scooter,phoenix,aaaaaa,morgan,tigers,porsche,mickey,maverick,cookie,nascar,peanut,justin,131313,money,horny,samantha,panties,steelers,joseph,snoopy,boomer,whatever,iceman,smokey,gateway,dakota,cowboys,eagles,chicken,dick,black,zxcvbn,please,andrea,ferrari,knight,hardcore,melissa,compa
The code is as follows (example):
#!/usr/bin/env python3 import configparser import os import import turtle import time import math import shutil import threading import sched #Creating Folders def mkdir(path): path = () path = ("\\") isExists = (path) if not isExists: (path) print (path + ' Created successfully ') return True else: print (path + ' Catalog already exists ') return False def delpwdtry(xcl,filename,pw_str): try: wb = (filename, False, False, None, pw_str) = False # # Save with an access code. (filename, None, '', '') # Save the document () # File saved and closed (SaveChanges=True) () return True except: () return False def makefile(path, content): if (path): return else: f = open(path, 'w+') (content) (0) read = () () print('excel file put encrypted excel config config password okdir is success folder') ('pause') exit(0) def aaaa(starttime,filename,num,pwds,i,file,xcl): haoshi = round(() - starttime, 2) print((str(i) + "/" + str(num)), haoshi, 'Seconds', file) pwdok = 0 i2 = 0 for pwd in pwds: i2 = i2 + 1 print ((str(i) + "/" + str(num)), 'First', i2, "Second attempt.", pwd) pwd_end = '' boo = delpwdtry(xcl, filename, pwd) if boo: pwdok = 1 pwd_end = pwd break if pwdok: print ((str(i) + "/" + str(num)), 'ok') # print ('Move file in 10 seconds') s = (10, movee, (filename,)) () else: print ('Failure') () def movee(filename): (filename, './okdir') def delpwd(okdir,starttime): conf = () # Specify the configuration file path and encoding ('', 'utf-8') # File path # Read configuration information path = ("Conf", "path") password = ("Conf", "password") pwds = (',') xcl = ("") # pw_str is the open password, if there is no access password, then set to ''. = False filelist = (path) num = len(filelist) i = 0 for file in filelist: i = i + 1 filename = ((path, file)) aaaa(starttime,filename,num,pwds,i,file,xcl) starttime = () endtime = () okdir = './okdir' mkdir('./excel') mkdir(okdir) makefile('./', "[Conf]\npath=./excel/\npassword=mima1,mima2,3...") delpwd(okdir,starttime) haoshi = round(()-starttime,2) print("Execution complete. Time consuming.",haoshi , "Seconds.") ('pause')
To this article on Python crack excel into the password of the process explained in detail to this article, more related Python crack excel content please search for my previous articles or continue to browse the following related articles I hope you will support me more in the future!