📄 word解密.frm
字号:
VERSION 5.00
Object = "{FE0065C0-1B7B-11CF-9D53-00AA003C9CB6}#1.1#0"; "COMCT232.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmmain
BorderStyle = 1 'Fixed Single
Caption = "Office文档解密"
ClientHeight = 3540
ClientLeft = 45
ClientTop = 435
ClientWidth = 4350
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3540
ScaleWidth = 4350
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Framethod
Caption = "解密方式"
Height = 975
Left = 120
TabIndex = 21
Top = 1440
Width = 1815
Begin VB.OptionButton Optdic
Caption = "字典破解"
Height = 255
Left = 120
TabIndex = 23
Top = 600
Width = 1095
End
Begin VB.OptionButton Optforce
Caption = "暴力破解"
Height = 255
Left = 120
TabIndex = 22
Top = 240
Value = -1 'True
Width = 1095
End
End
Begin MSComDlg.CommonDialog Dialog
Left = 1560
Top = 2880
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "请选择加密的Excel或Word文档"
Filter = "Excel(*.xls),Word(*.doc)|*.ppt;*.doc"
End
Begin VB.TextBox Text1
Height = 375
Left = 120
TabIndex = 9
Text = "0"
Top = 2880
Width = 1455
End
Begin VB.CommandButton Cmdquit
Caption = "退出系统"
Height = 495
Left = 3000
TabIndex = 6
Top = 120
Width = 1215
End
Begin VB.CommandButton Cmdstartcrack
Caption = "开始破解"
Default = -1 'True
Height = 495
Left = 1560
TabIndex = 5
Top = 120
Width = 1215
End
Begin VB.CommandButton Cmdbrowse
Caption = "浏览"
Height = 495
Left = 120
TabIndex = 4
Top = 120
Width = 1215
End
Begin VB.Frame Fralen
Caption = "选择密码长度"
Height = 735
Left = 2040
TabIndex = 3
Top = 2640
Width = 2175
Begin ComCtl2.UpDown UpDown2
Height = 270
Left = 1800
TabIndex = 13
Top = 240
Width = 255
_ExtentX = 450
_ExtentY = 476
_Version = 327681
Value = 1
BuddyControl = "Txtpasswordendlong"
BuddyDispid = 196614
OrigLeft = 2760
OrigTop = 240
OrigRight = 3015
OrigBottom = 495
Max = 15
Min = 1
SyncBuddy = -1 'True
Wrap = -1 'True
BuddyProperty = 65547
Enabled = -1 'True
End
Begin ComCtl2.UpDown UpDown1
Height = 270
Left = 720
TabIndex = 12
Top = 240
Width = 255
_ExtentX = 450
_ExtentY = 476
_Version = 327681
Value = 1
BuddyControl = "Txtpasswordstartlong"
BuddyDispid = 196615
OrigLeft = 1200
OrigTop = 240
OrigRight = 1455
OrigBottom = 495
Max = 15
Min = 1
SyncBuddy = -1 'True
Wrap = -1 'True
BuddyProperty = 65547
Enabled = -1 'True
End
Begin VB.TextBox Txtpasswordendlong
Height = 270
Left = 1320
TabIndex = 8
Text = "4"
Top = 240
Width = 480
End
Begin VB.TextBox Txtpasswordstartlong
Height = 270
Left = 360
TabIndex = 7
Text = "1"
Top = 240
Width = 360
End
Begin VB.Label Lblto
Caption = "到"
Height = 255
Left = 1080
TabIndex = 11
Top = 240
Width = 255
End
Begin VB.Label Lblfrom
Caption = "从"
Height = 255
Left = 120
TabIndex = 10
Top = 240
Width = 255
End
End
Begin VB.Frame Frarange
Caption = "选择密码字符范围"
Height = 1815
Left = 2040
TabIndex = 2
Top = 720
Width = 2175
Begin VB.CheckBox Chkothers
Caption = "其它OEM字符(26)"
Height = 255
Left = 120
TabIndex = 20
Top = 1440
Width = 1935
End
Begin VB.CheckBox Chkbracket
Caption = "括号(6)"
Height = 255
Left = 120
TabIndex = 19
Top = 1200
Width = 1215
End
Begin VB.CheckBox Chkspace
Caption = "空格(1)"
Height = 255
Left = 120
TabIndex = 18
Top = 960
Width = 1215
End
Begin VB.CheckBox Chkuppercase
Caption = "大写字母(26)"
Height = 255
Left = 120
TabIndex = 17
Top = 720
Width = 1575
End
Begin VB.CheckBox Chklowercase
Caption = "小写字母(26)"
Height = 255
Left = 120
TabIndex = 16
Top = 480
Width = 1575
End
Begin VB.CheckBox Chkdigital
Caption = "数字(10)"
Height = 255
Left = 120
TabIndex = 15
Top = 240
Width = 1215
End
End
Begin VB.Frame Frafile
Caption = "选择加密文档"
Height = 615
Left = 120
TabIndex = 0
Top = 720
Width = 1815
Begin VB.ComboBox Combo1
Height = 300
Left = 120
TabIndex = 1
Text = "E:\*.doc"
Top = 240
Width = 1575
End
End
Begin VB.Label Lblpgs
Caption = "破解进度:"
Height = 255
Left = 120
TabIndex = 14
Top = 2640
Width = 1095
End
End
Attribute VB_Name = "frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim blnProcessing As Boolean
Dim dicpath As String
Dim dictxt() As String
Private Sub Chkbracket_Click()
Text1.Text = "0"
End Sub
Private Sub Chkdigital_Click()
Text1.Text = "0"
End Sub
Private Sub Chklowercase_Click()
Text1.Text = "0"
End Sub
Private Sub Chkothers_Click()
Text1.Text = "0"
End Sub
Private Sub Chkspace_Click()
Text1.Text = "0"
End Sub
Private Sub Chkuppercase_Click()
Text1.Text = "0"
End Sub
Private Sub CmdBrowse_Click()
Dialog.ShowOpen 'show the dialog
Combo1.Text = Dialog.FileName 'set the Filename text box to the selected file
Combo1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -