版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、excel 工作表密码破解一些有着重要的 excel 文件,工作表肯定会添加密码,但是有时会忘记密码,这是该如何破解呢?下面随 x 一起来看看吧。excel 破解工作表密码的步骤打开 excel 工作表。然后在 excel 表中找到视图。点开宏。然后选择录制宏。接着会弹出一个窗口,点击确定。在此点开宏,点击停止录制。然后再点击宏,弹出窗口点击编辑。然后点击模板 1,并清空右边红框里的代码,如下图。然后把破解代码复制粘贴进入空白处(破解代码 x 将在文章最底部分享给大家)。然后在打开查看宏,点击执行破解代码。会弹出一个框,是英文的,看不懂没关系,点击确定,解密需要一段时间。12 破解代码:pub
2、lic sub allinternalpasswords() breaks worksheet and workbookstructure passwords. bob mccormick probably originator of basecode algorithm modified for coverage of workbook structure / windowspasswords and for multiple passwords norman harker and je mcgimpsey 27-dec-20xx (version ) modified 20xx-apr-0
3、4 by jem:all msgs to constants, and eliminate one exit sub (version ) reveals hashed passwords notoriginal passwordsconst dblspace as string = vbnewline & vbnewlineconst authors as string =dblspace & vbnewline & _adapted from bob mccormick basecode by & _norman harker and je mcgimpsey const header a
4、s string =allinternalpasswords user message const version as string =dblspace & version20xx-apr-04 const repback as string =dblspace & please report failure &_to thenewsgroup.const allclear as string =dblspace & the workbook should & _ now be free of all passwordprotection, so make sure you: & _ dbl
5、space & save it now! &dblspace & and also & _dblspace & backup!, backup!, backup! & _dblspace & also, remember that the password was & _put there for a reason. dont stuff up crucial formulas & _or data. & dblspace & access and use of some data & _may be an offense. if in doubt, dont.const msgnopword
6、s1 as string = there were no passwords on & _sheets, or workbook structure or windows. & authors & versionconst msgnopwords2 as string = there was no protection to & _workbook structure or windows. & dblspace & _proceeding to unprotect sheets. & authors & versionconst msgtaketime as string = after p
7、ressing ok button this & _will take some time. & dblspace & amount of time & _depends on how many different passwords, the & _passwords, and your computers specification. & dblspace & _just be patient! make me a coffee! & authors & versionconst msgpwordfound1 as string = you had a worksheet & _struc
8、ture or windows password set. & dblspace & _the password found was: & dblspace & & dblspace & _note it down for potential future use in other workbooks by &_the same person who set this password. & dblspace & _now to check and clear other passwords. & authors & versionconst msgpwordfound2 as string
9、= you had a worksheet & _password set. & dblspace & the password found was: & _dblspace & & dblspace & noteit down for potential & _future use in other workbooks bysame person who & _set this password. & dblspace & now to check and clear & _other passwords. & authors & versionconst msgonlyone as str
10、ing = only structure / windows & _protected with the password that was just found. & _allclear & authors & version & repbackdim w1 as worksheet, w2 as worksheetdim i as integer, j as integer, k as integer, l as integerdim m as integer, n as integer, i1 as integer, i2 as integerdim i3 as integer, i4
11、as integer, i5 as integer, i6 as integerdim pword1 as stringdim shtag as boolean, wintag as boolean= falsewith activeworkbookwintag = .protectstructure or.protectwindows end with shtag = falsefor each w1 in worksheets shtag = shtag ornext w1if not shtag and not wintag then msgbox msgnopwords1,vbinfo
12、rmation, header exit subend ifmsgbox msgtaketime, vbinformation, headerif not wintag then msgbox msgnopwords2,vbinformation, header elseon error resume next do dummy do loopfori=65to66: for j =65 to66:fork=65to66forl=65to66: for m =65 to66:fori1=65to66fori2=65to66: for i3= 65to66:fori4=65to66fori5=6
13、5to66: for i6= 65to66:forn = 32 to 126with activeworkbook.unprotect chr(i) & chr(j) & chr(k) & _chr(l) & chr(m) & chr(i1) & chr(i2) & _chr(i3) & chr(i4) & chr(i5) & chr(i6) & chr(n)if .protectstructure = false and_.protectwindows = false then pword1 = chr(i) & chr(j) & chr(k)& chr(l) & _chr(m) & chr
14、(i1) & chr(i2) & chr(i3) & _chr(i4) & chr(i5) & chr(i6) & chr(n)msgbox (msgpwordfound1, _, pword1), vbinformation, headerexit do bypass all for.nexts end ifend withnext: next: next: next: next:nextnext: next: next: next: next:nextloop until true on error goto 0 end ifif wintag and not shtag then msg
15、box msgonlyone, vbinformation,headerexit sub end ifon error resume nextfor each w1 in worksheetsattempt clearance with pword1 pword1next w1on error goto 0 shtag = falsefor each w1 in worksheets checks for all clear shtagtriggered to 1 if not.shtag = shtag or next w1if shtag thenfor each w1 in worksh
16、eets with w1if .protectcontents then on error resume nextdo dummy do loopfor i = 65 to 66: for j = 65 to 66: for k = 65 to 66for l = 65 to 66: for m = 65 to66:fori1=65to66fori2=65to66: for i3= 65 to66:fori4=65to66for i5 = 65 to 66: for i6 = 65 to 66: for n = 32 to 126.unprotect chr(i) & chr(j) & chr
17、(k) & _chr(l) & chr(m) & chr(i1) & chr(i2) & chr(i3) & _chr(i4) & chr(i5) & chr(i6) & chr(n)if not .protectcontents then pword1 = chr(i) & chr(j) & chr(k)& chr(l) & _chr(m) & chr(i1) & chr(i2) & chr(i3) & _chr(i4) & chr(i5) & chr(i6) & chr(n)msgbox (msgpwordfound2, _, pword1), vbinformation, headerl
18、everage finding pword by trying on other sheetsfor each w2 in worksheets pword1next w2exit do bypass all for.nexts end ifnext: next: next: next: next:nextnext: next: next: next: next:nextloop until true on error goto 0 end ifend with next w1 end ifmsgbox allclear & authors &version & repback, vbinformation, headerend subexcel 破解工作表密码“”“”at the end, xiao bian gives you a passage. minand once said, people who learn to learn ar
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 建筑学咨询行业市场调研分析报告
- 充电桩智能管理行业营销策略方案
- 公司治理法律服务行业经营分析报告
- 印刷机用盘纸产业链招商引资的调研报告
- 女式披肩产品供应链分析
- 安排举办和组织专家讨论会行业相关项目经营管理报告
- 室内用空气芳香剂产业链招商引资的调研报告
- 木片切削机产品供应链分析
- 宽顶无沿圆帽产业链招商引资的调研报告
- 工业用封口机产品供应链分析
- 危机事件干预:流程、技术、伦理、法律
- 【课件】主动运输与胞吞、胞吐+说课课件高一上学期生物人教版必修1
- 消防弱电工程技术交底
- 人教版英语七年级上册 Unit 3 Section A 教案
- 学生公寓停宿通知单
- 修复皮肤屏障-保湿类护肤品应用指南解读
- 普通诊所污水、污物、粪便处理方案及周边环境情况说明
- 不动产统一登记实务课件
- 中枢性性早熟诊断与治疗共识课件
- 白居易《长恨歌》(共53张)
- 小学美术-7有趣的图形教学设计学情分析教材分析课后反思
评论
0/150
提交评论