操作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

CheapWindowsVPS$4.5/月,美国VPS/免费Windows系统/1Gbps不限流量/,可选美洲、欧洲、亚洲等8大机房

国外商家提供Windows系统的并不常见,CheapWindowsVPS 此次提供的 2 款 VPS 促销套餐,提供 5 折永久优惠码,优惠后月付 4.5 美元起,价格还是挺诱人的,VPS 不限流量,接入 1Gbps 带宽,8 个机房皆可选,其中洛杉矶机房还提供亚洲优化网络供选择,操作系统有 Windows 10 专业版、2012 R2、2016、Linux等。Cheap Windows VPS是...

丽萨主机:美国CN2 GIA精品网/KVM/9折,美国原生IP,最低27元/月

丽萨主机怎么样?丽萨主机,团队于2017年成立。成立之初主要做的是 CDN 和域名等相关业务。最近开辟新领域,新增了独立服务器出租、VPS 等业务,为了保证业务质量从一开始就选择了中美之间的 CN2 GIA 国际精品网络,三网回程 CN2 GIA,电信去程 CN2 GIA + BGP 直连智能路由,联通移动去程直连,原生IP。适合对网络要求较高的用户,同时价格也比较亲民。点击进入:丽萨主机官方网站...

印象云七夕促销,所有机器7折销售,美国CERA低至18元/月 年付217元!

印象云,成立于2019年3月的商家,公司注册于中国香港,国人运行。目前主要从事美国CERA机房高防VPS以及香港三网CN2直连VPS和美国洛杉矶GIA三网线路服务器销售。印象云香港三网CN2机房,主要是CN2直连大陆,超低延迟!对于美国CERA机房应该不陌生,主要是做高防服务器产品的,并且此机房对中国大陆支持比较友好,印象云美国高防VPS服务器去程是163直连、三网回程CN2优化,单IP默认给20...

破解无线路由密码为你推荐
lowercasecss支持ipadDeviceios5phpechophp echo函数 是什么意思canvas2Canvas ~セピア色のモチーフ~ 这个动画片的中文翻译是什么?从哪看?icloudiphone怎么利用iCloud使iPhone内存达到扩容目的googleadsensegoogle adsense 和google adwords有什么区别?适合什么样的人群?迅雷下载速度迅雷下载速度与什么有关?www.baidu.jpbaidu 百度苹果5.1.1越狱iphone5.1.1越狱老是越狱失败,说要抹掉数据,怎么抹掉数据不懂,接下来该怎么弄 求大神指教
北京网站空间 虚拟主机试用30天 中文域名查询 net主机 东莞电信局 漂亮qq空间 堪萨斯服务器 westhost 国外php主机 z.com 大容量存储 ibox官网 小米数据库 godaddy域名证书 e蜗 百兆独享 东莞服务器 免费mysql数据库 彩虹云 美国独立日 更多