操作excel保护密码破解(绝对经典)

破解无线路由密码  时间:2021-04-20  阅读:()

exc e l保護密碼破解(絕對經典)

如果你的E xce l文件設置了保護密碼而遺忘了 ,那麼請依照下面的步驟來操作.簡 ,也許會有奇跡出現. .不需要多麼高難度的操作和專業的軟件支持 單.方便.費時一般最多兩分鐘 (建議:操作前把原文件COPY一份)

方法:

打开文件

工具---宏----录制新宏---输入名字如 :aa

停止录制(这样得到一个空宏 )

工具---宏----宏,选aa,点编辑按钮

删除窗口中的所有字符 (只有几个),替换为下面的内容 :(复制吧)

关闭编辑窗口

工具---宏-----宏,选Al l I nternalPasswords,运行,确定两次,等2分钟,再确定.OK,没有密码了! !内容如下

Publ ic Sub Al l InternalPasswords()

'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 passwords

'

'Norman Harkerand JE McGimpsey27-Dec-2002(Version 1 .1 )

'Modified 2003-Apr-04 by JEM:Al l msgs to constants,and

'el iminate one ExitSub(Version 1 .1 .1)

'Reveals hashed passwords NOT original passwords

Const DBLSPACE As String=vbNewLine&vbNewLine

ConstAUTHORS As String=DBLSPACE&vbNewLine&_

"Adapted from Bob McCormick base code by"&_

"Norman Harkerand JE McGimpsey"

Const HEADER As String="Al l InternalPasswords User Message"

ConstVERSION As String=DBLSPACE&"Version 1 .1 .1 2003-Apr-

04"Const REPBACK As String=DBLSPACE&"Please report fai lure"

&_"to the microsoft.publ ic.excel .programming newsgroup."

ConstALLCLEAR As String=DBLSPACE&"The workbook should"&

_"now be free of al l 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 a reason.Don't stuff up crucial formulas"&_

"or data."&DBLSPACE&"Access and use of some data"&

_"maybe an offense. If in doubt,don't."

Const MSGNOPWORDS1 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 tounprotectsheets."&AUTHORS&VERSION

Const MSGTAKETIME As String="After pressing OK button this"&_"wi l l take some time."&DBLSPACE&"Amount of time"&_"dependson how many different passwords, the"&_

"passwords,and your computer's specification."&DBLSPACE&_"Just be patient!Make me a coffee!"&AUTHORS&VERSIONConst MSGPWORDFOUND1 As String="You had a Worksheet "&_"Structure orWindows Password set."&DBLSPACE&

_

"The password found was: "&DBLSPACE&"$$"&DBLSPACE&_"Note it down for potential future use in otherworkbooks by"&_"the same person who set this password."&DBLSPACE&_

"Nowto check and clear other passwords."&AUTHORS&VERSIONConst MSGPWORDFOUND2 As String="You had a Worksheet "&_"password set."&DBLSPACE&"The password found was: "&_DBLSPACE&"$$"&DBLSPACE&"Note it down for potential "&_"future use in otherworkbooks 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 thatwas justfound."&_

ALLCLEAR&AUTHORS&VERSION&REPBACK

Dim w1 As Worksheet,w2 As Worksheet

Dim i As Integer, j As Integer,kAs 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,WinTagAs Boolean

Appl ication.ScreenUpdating=False

With ActiveWorkbook

WinTag=.ProtectStructure Or .ProtectWindowsEnd With

ShTag=False

For Each w1 InWorksheets

ShTag=ShTag Or w1 .ProtectContents

Nextw1

If Not ShTag And NotWinTag Then

MsgBox MSGNOPWORDS1 ,vbInformation,HEADERExit Sub

End If

MsgBox MSGTAKETIME,vbInformation,HEADERIf NotWinTag Then

MsgBox MSGNOPWORDS2,vbInformation,HEADERElse

On Error Resume Next

Do'dummydo loop

For i=65 To 66:Forj=65 To 66:Fork=65 To 66For l=65To 66:Form=65To66:For i1 =65To66For i2=65 To 66:For i3=65 To 66:For i4=65 To 66For i5=65 To 66:For i6=65 To 66:For n=32 To 126With ActiveWorkbook

.UnprotectChr(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

PWo rd 1 =C h r(i)&C h r(j)&C h r(k)&C h r(l)&_

Chr(m)&Chr(i1 )&Chr(i2)&Chr(i3)&_

Chr(i4)&Chr(i5)&Chr(i6)&Chr(n)

MsgBox Appl ication.Substitute(MSGPWORDFOUND1,_"$$",PWord 1 ),vbI nformation,HEADER

Exit Do'Bypass al l for. . .nexts

End If

End With

Next:Next:Next:Next:Next:Next

Next:Next:Next:Next:Next:Next

Loop Unti l True

On ErrorGoTo 0

End If

If WinTag And Not ShTag Then

MsgBox MSGONLYONE,vbInformation,HEADERExit Sub

End If

On Error Resume Next

For Each w1 InWorksheets

'Attempt clearance with PWord1w1 .Unprotect PWord1

Nextw1

On ErrorGoTo 0

ShTag=False

For Each w1 InWorksheets

'Checks for al l clear ShTag triggered to 1 if not.ShTag=ShTag Or w1 .ProtectContents

Nextw1

If ShTag Then

For Each w1 InWorksheets

With w1

If .ProtectContents Then

On Error Resume Next

Do'Dummydo loop

For i=65 To 66:Forj=65 To 66:Fork=65 To 66For l=65To 66:Form=65To66:For i1 =65To66For i2=65 To 66:For i3=65 To 66:For i4=65 To 66For i5=65To 66:For i6=65To 66:Forn=32To 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

PWo rd 1 =C h r(i)&C h r(j)&C h r(k)&C h r(l)&_

Chr(m)&Chr(i1 )&Chr(i2)&Chr(i3)&_

Chr(i4)&Chr(i5)&Chr(i6)&Chr(n)

MsgBox Appl ication.Substitute(MSGPWORDFOUND2,_

"$$",PWord 1 ),vbI nformation,HEADER

' leverage finding Pword bytrying on othersheets

For Each w2 InWorksheetsw2.Unprotect PWord1

Nextw2

Exit Do'Bypass al l for. . .nexts

End If

Next:Next:Next:Next:Next:Next

Next:Next:Next:Next:Next:Next

Loop Unti l True

On ErrorGoTo 0

End If

End With

Nextw1

End If

MsgBox ALLCLEAR&AUTHORS&VERSION&REPBACK,vbInformation,HEADEREnd Sub

江苏云服务器 2H2G 20M 79元/月 大宽带159元/月 高性能挂机宝6元/月 香港CN2 GIA、美国200G防御 CN2 GIA 折后18元/月 御速云

介绍:御速云成立于2021年的国人商家,深圳市御速信息技术有限公司旗下品牌,为您提供安全可靠的弹性计算服务,随着业务需求的变化,您可以实时扩展或缩减计算资源,使用弹性云计算可以极大降低您的软硬件采购成本,简化IT运维工作。主要从事VPS、虚拟主机、CDN等云计算产品业务,适合建站、新手上车的值得选择,拥有华东江苏、华东山东等国内优质云产品;香港三网直连(电信CN2GIA联通移动CN2直连);美国高...

IntoVPS:按小时计费KVM月费5美元起($0.0075/小时),6个机房可选

IntoVPS是成立于2004年的Hosterion SRL旗下于2009年推出的无管理型VPS主机品牌,商家提供基于OpenStack构建的VPS产品,支持小时计费是他的一大特色,VPS可选数据中心包括美国弗里蒙特、达拉斯、英国伦敦、荷兰和罗马尼亚等6个地区机房。商家VPS主机基于KVM架构,最低每小时0.0075美元起($5/月)。下面列出几款VPS主机配置信息。CPU:1core内存:2GB...

半月湾($59.99/年),升级带宽至200M起步 三网CN2 GIA线路

在前面的文章中就有介绍到半月湾Half Moon Bay Cloud服务商有提供洛杉矶DC5数据中心云服务器,这个堪比我们可能熟悉的某服务商,如果我们有用过的话会发现这个服务商的价格比较贵,而且一直缺货。这里,于是半月湾服务商看到机会来了,于是有新增同机房的CN2 GIA优化线路。在之前的文章中介绍到Half Moon Bay Cloud DC5机房且进行过测评。这次的变化是从原来基础的年付49....

破解无线路由密码为你推荐
supplementedroute内存nod32伺服器win7化学品安全技术说明书eaccelerator开启eAccelerator内存优化就各种毛病,DZ到底用哪个内存优化比较好。。。ipad如何上网苹果ipad无线上网卡怎么设置?win10关闭445端口win10怎么关闭445的最新相关信息重庆电信网速测试电信100M下载速度多少M,为什么我家里电信100M下载速度最快5M美妙,是不是严重缩水google图片搜索如何用google搜索空间照片csshack关于CSS hack的写法
网游服务器租用 德国vps 阿里云邮箱登陆首页 服务器评测 国外服务器网站 la域名 godaddy优惠券 evssl 好看的桌面背景图片 免费博客空间 国外免费空间 华为网络硬盘 空间论坛 韩国名字大全 双线主机 徐正曦 流量计费 爱奇艺vip免费试用7天 shopex主机 华为k3 更多