黑客业务

24小时接单的黑客,黑客业务,黑客怎么找,网络黑客,黑客技术

宏加密破解(excel宏加密破解)

本文目录一览:

Excel 2010的,宏有密码,怎么破解

新建一个文件,

打开VBA编辑器。

新建一个模块。

输入以下代码。

Sub MoveProtect()

Dim FileName As String

FileName = Application.GetOpenFilename("Excel文件(*.xls *.xla *.xlsm),*.xls;*.xla;*.xlsm", , "VBA破解")

If FileName = CStr(False) Then

Exit Sub

Else

VBAPassword FileName, False

End If

End Sub

'设置VBA编码保护

Sub SetProtect()

Dim FileName As String

FileName = Application.GetOpenFilename("Excel文件(*.xls *.xla *.xlsm),*.xls;*.xla;*.xlsm", , "VBA破解")

If FileName = CStr(False) Then

Exit Sub

Else

VBAPassword FileName, True

End If

End Sub

Private Function VBAPassword(FileName As String, Optional Protect As Boolean = False)

If Dir(FileName) = "" Then

Exit Function

Else

FileCopy FileName, FileName ".bak"

End If

Dim GetData As String * 5

Open FileName For Binary As #1

Dim CMGs As Long

Dim DPBo As Long

For i = 1 To LOF(1)

Get #1, i, GetData

If GetData = "CMG=""" Then CMGs = i

If GetData = "[Host" Then DPBo = i - 2: Exit For

Next

If CMGs = 0 Then

MsgBox "请先对VBA编码设置一个保护密码...", 32, "提示"

Exit Function

End If

If Protect = False Then

Dim St As String * 2

Dim s20 As String * 1

'取得一个0D0A十六进制字串

Get #1, CMGs - 2, St

'取得一个20十六制字串

Get #1, DPBo + 16, s20

'替换加密部份机码

For i = CMGs To DPBo Step 2

Put #1, i, St

Next

'加入不配对符号

If (DPBo - CMGs) Mod 2 0 Then

Put #1, DPBo + 1, s20

End If

MsgBox "文件解密成功......", 32, "提示"

Else

Dim MMs As String * 5

MMs = "DPB="""

Put #1, CMGs, MMs

MsgBox "对文件特殊加密成功......", 32, "提示"

End If

Close #1

End Function

保存后打开。

ALT+F8运行宏。

按要求破解就是了。

十有八九能破的。

如何破解excel宏密码的方法

如何破解excel宏密码的方法:

破解宏密码步骤1:打开需要破解的文件,并点开需要输入密码的界面,如图

破解宏密码步骤2:使用EXCEL.EXE重新打开一个工作簿。

破解宏密码步骤3:打开新工作簿的VBA代码区域,并插入一个模块。

破解宏密码步骤4:插入如下代码

Sub test()

Dim st, nd, th3, th4, th5, th6, th7, th8 As Variant

Dim ii, jj, kk, ll, mm, nn, oo, pp, qq As Integer

Dim PADN, PD, IJ, JK, PADNO, speed

speed = 0.005

st = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

nd = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th3 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th4 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th5 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th6 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th7 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

th8 = Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z")

PADN = InputBox("How long the password is", "Guilin Hu", 4)

PADNO = CInt(PADN)

For IJ = 1 To 100

If Sheet1.Cells(IJ, 1) = "" Then

Sheet1.Cells(IJ, 1) = Now

Exit For

Else

End If

Next IJ

PauseTime = 2

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

Select Case (PADNO)

Case 1

For ii = 0 To 61

PD = st(ii)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next ii

Case 2

For ii = 0 To 61

For jj = 0 To 61

PD = st(ii) nd(jj)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next jj

Next ii

Case 3

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

PD = st(ii) nd(jj) th3(kk)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next kk

Next jj

Next ii

Case 4

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

PD = st(ii) nd(jj) th3(kk) th4(ll)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next ll

Next kk

Next jj

Next ii

Case 5

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

PD = st(ii) nd(jj) th3(kk) th4(ll) th5(mm)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next mm

Next ll

Next kk

Next jj

Next ii

Case 6

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

PD = st(ii) nd(jj) th3(kk) th4(ll) th5(mm) th6(nn)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

Case 7

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

For oo = 0 To 61

PD = st(ii) nd(jj) th3(kk) th4(ll) th5(mm) th6(nn) th7(oo)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next oo

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

Case 8

For ii = 0 To 61

For jj = 0 To 61

For kk = 0 To 61

For ll = 0 To 61

For mm = 0 To 61

For nn = 0 To 61

For oo = 0 To 61

For pp = 0 To 61

PD = st(ii) nd(jj) th3(kk) th4(ll) th5(mm) th6(nn) th7(oo) th8(pp)

SendKeys PD

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

PauseTime = speed

Start = Timer

Do While Timer Start + PauseTime

DoEvents

Loop

Finish = Timer

SendKeys "{enter}"

Next pp

Next oo

Next nn

Next mm

Next ll

Next kk

Next jj

Next ii

End Select

For JK = 1 To 100

If Sheet1.Cells(JK, 2) = "" Then

Sheet1.Cells(JK, 2) = Now

Exit For

Else

End If

Next JK

End Sub

破解宏密码步骤5:按F5执行代码,输入密码长度。如果不知道密码的长度,就猜,第一次输1,第二次输2。。。依次试。

破解宏密码步骤6:输入密码长度后,点击确定。并在2s内将鼠标的焦点点在最开始要破解文件的密码输入框里边。接下来的工作就是“静候佳音”了。

破解宏密码步骤7:没有破解不开的密码。主要的是你有时间就好!1位密码破解最长时间:62/(1/0.005)=0.31秒;2位数密码破解最长时间:62*62/(1/0.005)=19.22秒。。。依次类推:N位数密码破解时间:(62)的N次方/(1/0.005)秒的时间。就看您的耐性了!破解完成之后就会自动进去VBA代码模块。

破解宏密码步骤8:接下来就是修改别人的密码了!进去果断点击VBA工程属性,改密码。

Excel宏加密后,无论创建、删除还是编辑均需密码,如何破解

1、我新建一个excel文件(.xlsx格式的)来测试破解过程,其它文件可以参考,但最好要备份原来的文件,设置工作表、工作薄为密码保护,保存后

2、打开电脑上的压缩软件,然后在菜单里选择打开压缩包,进入excel文件所在的目录,按图2所示,找到excel文件,然后打开,打开后的界面如下图3所示

3、下面介绍一下删除工作薄的密码,如下图红色箭头所指的文件,用内部阅读器打开

4、搜索,打开搜索界面,搜索“workbookProtection”,如下图所示,把该标签的内容全部删除,删除后如图2所示

5、保存修改到压缩,如图2所示

6、下面介绍一下删除工作表的密码,如下图红色箭头所指的文件,用内部阅读器打开,打下面的文件

7、打开后,搜索“sheetProtection ”,删除整个标签的内容,保存到压缩包

8

8、关掉压缩包,重新打开那个测试的excel文件,可以看到密码保护已经没有了

Excel中的xlsm宏密码怎么破解

首先,先去下载一款代码编辑器Notepad++

第二步,将待破解的档案后缀名称由.xlsm改为.rar或者.zip

第三步,使用压缩软件打开,进入xl目录找到vbaProject.bin文件

右键【打开】,选择已下载好的代码编辑器Notepad++

第四步,查找字符DPB并将其替换成DPx,保存文件,确定更新,关闭压缩档案,再重新修改后缀名.rar(或者是.zip)为.xlsm

第五步,使用excel打开.xlsm文件,弹出警告框,点击“是”,【开发工具】,【查看代码】,弹出未知错误提示框,点击“确定”。【工具】菜单,【VBAProject属性】打开工程属性,切换到【保护】标签,重新填入密码或者不填写密码(不填写密码时不要勾选查看是锁定工程),最后确定。

最后,保存后关闭档案,重新打开档案就可以看到里面的代码了

PS. 破解仅用来学习,但不要挡了别人的财路

如何破解excel宏的保护密码

你打开后可以把它重新保存为一个宏,然后再运行,点两次确定,等它运行结束,工作表密码就解除了。

如何破解excel宏的密码

打开文档后,通过文件菜单中“另存为”,将文档存为rtf格式。保存好文件后,先关掉文档再打开另存的文件,选择工具栏中的“解除文档保护”命令,不用填写密码就可以解除此文件的“文档保护功能”,而且任何信息都不会丢失。用Office Password Remover这个软件可以打开。

使用方法:

首先运行解压好的OPRemove.exe 这个程式,打开程式后能看到中间文本框后面有个类似目录的按钮。

选择后出现下图的画面,点击移除密码。

呆几秒钟后便出现“该文件已被成功破解”,点确定即可,这时候就大功告成了。 在这里要注意的是,破解后的文章名字会有点变化,加了“DEMO”这四个字母,翻译过来就是示范的意思,不必在意,重命名去掉就能了。

  • 评论列表:
  •  鸽吻清妩
     发布于 2022-07-01 23:38:39  回复该评论
  • m = 0 To 61For nn = 0 To 61For oo = 0 To 61PD = st(ii) nd(jj) th3(kk) th4(ll)
  •  世味谷夏
     发布于 2022-07-02 00:49:42  回复该评论
  • ,保存后关闭档案,重新打开档案就可以看到里面的代码了PS. 破解仅用来学习,但不要挡了别人的财路如何破解excel宏的保护密码你打开后可以把它重新保存为一个宏,然后再运行,点两次确定,等它运行结束,工作表密码就解除了。如何破解excel宏的密
  •  拥嬉北渚
     发布于 2022-07-01 22:32:02  回复该评论
  • , 1) = NowExit ForElseEnd IfNext IJPauseTime = 2Start = TimerDo While Timer Start + PauseTimeDoEventsL
  •  弦久鹿岛
     发布于 2022-07-01 20:07:06  回复该评论
  • "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q",
  •  澄萌离祭
     发布于 2022-07-01 21:42:21  回复该评论
  • xit Sub Else VBAPassword FileName, True End IfEnd SubPrivate Function VBAPassword(FileName As String, Optional Protect As

发表评论:

Powered By

Copyright Your WebSite.Some Rights Reserved.