![【計算機】EXCEL—“撤銷工作表保護密碼”的破解并獲取原始密碼(共5頁)_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-9/27/8fcac942-db4f-413c-ad26-46a3f75bd205/8fcac942-db4f-413c-ad26-46a3f75bd2051.gif)
![【計算機】EXCEL—“撤銷工作表保護密碼”的破解并獲取原始密碼(共5頁)_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-9/27/8fcac942-db4f-413c-ad26-46a3f75bd205/8fcac942-db4f-413c-ad26-46a3f75bd2052.gif)
![【計算機】EXCEL—“撤銷工作表保護密碼”的破解并獲取原始密碼(共5頁)_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-9/27/8fcac942-db4f-413c-ad26-46a3f75bd205/8fcac942-db4f-413c-ad26-46a3f75bd2053.gif)
![【計算機】EXCEL—“撤銷工作表保護密碼”的破解并獲取原始密碼(共5頁)_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-9/27/8fcac942-db4f-413c-ad26-46a3f75bd205/8fcac942-db4f-413c-ad26-46a3f75bd2054.gif)
![【計算機】EXCEL—“撤銷工作表保護密碼”的破解并獲取原始密碼(共5頁)_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-9/27/8fcac942-db4f-413c-ad26-46a3f75bd205/8fcac942-db4f-413c-ad26-46a3f75bd2055.gif)
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、excel“撤銷工作表保護密碼”的破解并獲取原始密碼在日常工作中,您是否遇到過這樣的情況:您用excel編制的報表、表格、程序等,在單元格中設(shè)置了公式、函數(shù)等,為了防止其他人修改您的設(shè)置或者防止您自己無意中修改,您可能會使用excel的工作表保護功能,但時間久了保護密碼容易忘記,這該怎么辦?有時您從網(wǎng)上下載的excel格式的小程序,您想修改,但是作者加了工作表保護密碼,怎么辦?您只要按照以下步驟操作,excel工作表保護密碼瞬間即破! 1、打開您需要破解保護密碼的excel文件; 2、依次點擊菜單欄上的工具-宏-錄制新宏,輸入宏名字如:aa; 3、停止錄制(這樣得到一個空宏); 4、依次點擊菜
2、單欄上的工具-宏-宏,選aa,點編輯按鈕;5、刪除窗口中的所有字符(只有幾個),替換為下面的內(nèi)容;從橫線下開始復(fù)制-option explicitpublic sub allinternalpasswords() breaks worksheet and workbook structure passwords. bob mccormick probably originator of base code algorithm modified for coverage of workbook structure / windows passwords and for multiple pass
3、words norman harker and je mcgimpsey 27-dec-2002 (version 1.1) modified 2003-apr-04 by jem: all msgs to constants, and eliminate one exit sub (version 1.1.1) reveals hashed passwords not original passwords const dblspace as string = vbnewline & vbnewline const authors as string = dblspace & vbnewlin
4、e & _ adapted from bob mccormick base code by & _ norman harker and je mcgimpsey const header as string = allinternalpasswords user message const version as string = dblspace & version 1.1.1 2003-apr-04 const repback as string = dblspace & please report failure & _ to the g
5、ramming newsgroup. const allclear as string = dblspace & the workbook should & _ now be free of all password protection, so make sure you: & _ dblspace & save it now! & dblspace & and also & _ dblspace & backup!, backup!, backup! & _ dblspace & also, remember that the password was & _ put there for
6、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 msgnopwords1 as string = there were no passwords on & _ sheets, or workbook structure or windows. & authors & version const msgnopwords2 as string = there wa
7、s no protection to & _ workbook structure or windows. & dblspace & _ proceeding to unprotect sheets. & authors & version const msgtaketime as string = after pressing ok button this & _ will take some time. & dblspace & amount of time & _ depends on how many different passwords, the & _ passwords, an
8、d your computers specification. & dblspace & _ just be patient! make me a coffee! & authors & version const msgpwordfound1 as string = you had a worksheet & _ structure or windows password set. & dblspace & _ the password found was: & dblspace & $ & dblspace & _ note it down for potential future use
9、 in other workbooks by & _ the same person who set this password. & dblspace & _ now to check and clear other passwords. & authors & version const msgpwordfound2 as string = you had a worksheet & _ password set. & dblspace & the password found was: & _ dblspace & $ & dblspace & note it down for pote
10、ntial & _ future use in other workbooks by same person who & _ set this password. & dblspace & now to check and clear & _ other passwords. & authors & version const msgonlyone as string = only structure / windows & _ protected with the password that was just found. & _ allclear & authors & version &
11、 repback dim w1 as worksheet, w2 as worksheet dim i as integer, j as integer, k as integer, l as integer dim m as integer, n as integer, i1 as integer, i2 as integer dim i3 as integer, i4 as integer, i5 as integer, i6 as integer dim pword1 as string dim shtag as boolean, wintag as booleanapplication
12、.screenupdating = false with activeworkbook wintag = .protectstructure or .protectwindows end with shtag = false for each w1 in worksheets shtag = shtag or w1.protectcontents next w1 if not shtag and not wintag then msgbox msgnopwords1, vbinformation, header exit sub end if msgbox msgtaketime, vbinf
13、ormation, header if not wintag then msgbox msgnopwords2, vbinformation, header else on error resume next do dummy do loop for i = 65 to 66: for j = 65 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 to 66: for i1 = 65 to 66 for i2 = 65 to 66: for i3 = 65 to 66: for i4 = 65 to 66 for i5 = 65 to
14、66: for i6 = 65 to 66: for n = 32 to 126 with 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) & _ c
15、hr(m) & chr(i1) & chr(i2) & chr(i3) & _ chr(i4) & chr(i5) & chr(i6) & chr(n) msgbox application.substitute(msgpwordfound1, _ $, pword1), vbinformation, header exit do bypass all for.nexts end if end with next: next: next: next: next: next next: next: next: next: next: next loop until true on error g
16、oto 0 end if if wintag and not shtag then msgbox msgonlyone, vbinformation, header exit sub end if on error resume next for each w1 in worksheets attempt clearance with pword1 w1.unprotect pword1 next w1 on error goto 0 shtag = false for each w1 in worksheets checks for all clear shtag triggered to
17、1 if not. shtag = shtag or w1.protectcontents next w1 if shtag then for each w1 in worksheets with w1 if .protectcontents then on error resume next do dummy do loop for i = 65 to 66: for j = 65 to 66: for k = 65 to 66 for l = 65 to 66: for m = 65 to 66: for i1 = 65 to 66 for i2 = 65 to 66: for i3 =
18、65 to 66: for i4 = 65 to 66 for i5 = 65 to 66: for i6 = 65 to 66: for n = 32 to 126 .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 not .protectcontents then pword1 = chr(i) & chr(j) & chr(k) & chr(l) & _ chr(m) & chr(
19、i1) & chr(i2) & chr(i3) & _ chr(i4) & chr(i5) & chr(i6) & chr(n) msgbox application.substitute(msgpwordfound2, _ $, pword1), vbinformation, header leverage finding pword by trying on other sheets for each w2 in worksheets w2.unprotect pword1 next w2 exit do bypass all for.nexts end if next: next: ne
20、xt: next: next: next next: next: next: next: next: next loop until true on error goto 0 end if end with next w1 end if msgbox allclear & authors & version & repback, vbinformation, header end sub-復(fù)制到橫線以上 6、關(guān)閉編輯窗口; 7、依次點擊菜單欄上的工具-宏-宏,選allinternalpasswords,運行,確定兩次; 等一會,就會出現(xiàn)以下對話框:這就是excel密碼對應(yīng)的原始密碼(此密碼和原
21、先設(shè)置的密碼都能打開此文檔。如果是別人的文檔,你又想恢復(fù)密碼設(shè)置,就可以用此密碼進行保護,他就能用他設(shè)置的密碼打開,你可以試試,很有趣的。字母一定要大寫):再點擊確定。excel的原始密碼就被清除了!雙系統(tǒng)安裝方法:xp下安裝windows7安裝前說明:1、先裝xp,再裝windows 7,最好不要反過來,不然xp不會把windows 7的啟動管理器給覆蓋掉,會麻煩些??傊裱芭f版本到新版本”安裝原則。2、如果分區(qū)不夠大,請用以下軟件調(diào)整,但要慎重,詳見: 硬盤分區(qū)管理工具norton partitionmagic(pq8.0) v8.05 build 1371 簡裝漢化版 下載window
22、s xp推薦安裝使用:windows xp pro with sp3 vol 微軟原版(簡體中文) + 正版密鑰windows 7windows 7 英文旗艦版 + 簡體中文語言包(msdn原版)xp下硬盤安裝windows 7的詳細說明: 1、xp裝在c盤,windows 7裝在非c盤,例:e盤,該盤必須是ntfs格式的空白磁盤(如果某些數(shù)據(jù)沒有徹底清除,裝前請先快速格式化一次,以免安裝過程出錯),大小16g以上,建議20g。2、把下載好的鏡像放在非windows 7安裝盤,直接用winrar解壓,得到一個文件夾,雙擊運行里面的setup,點下一步,接著按提示做就行了,安裝過程會重起兩三次,請別亂動,整個過程20分鐘左右,當(dāng)然不同配置時間長短會有差別。(提
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年攝影師聘用合同
- 個人包工協(xié)議合同模板
- 2025年高壓水流清洗機合作協(xié)議書
- 2025年快餐盒合作協(xié)議書
- 2025年液壓破拆屬具合作協(xié)議書
- 2025年郵政用信函和包裹分揀機合作協(xié)議書
- 八年級英語下冊 Unit 5 單元綜合測試卷(人教陜西版 2025年春)
- 2025年二手車位轉(zhuǎn)讓協(xié)議常用版(2篇)
- 2025年五年級班級管理工作總結(jié)樣本(2篇)
- 2025年買農(nóng)村的房子合同范文(2篇)
- 銅陵2025年安徽銅陵郊區(qū)周潭鎮(zhèn)招聘鄉(xiāng)村振興專干和村級后備干部5人筆試歷年參考題庫附帶答案詳解
- 2025年紀(jì)檢辦公室工作計劃范文
- 2024年保險公司柜員年終工作總結(jié)
- 2025年南瑞集團招聘筆試參考題庫含答案解析
- 七年級上學(xué)期歷史期末考試模擬卷02(原卷版)
- 橋梁建設(shè)施工組織設(shè)計方案
- (新版)中國動態(tài)血壓監(jiān)測基層應(yīng)用指南(2024年)
- 礦物加工工程基礎(chǔ)知識單選題100道及答案解析
- 2024年同等學(xué)力申碩英語考試真題
- 浙江省杭州市2024年中考語文試卷(含答案)
- 世說新語原文及翻譯-副本
評論
0/150
提交評論