一个暴力破解词典生成器,通过函数的递归完成字符的枚举,但资源占用率太大了,请问更如何修改,我是残疾人,请各位高手不要笑话我
我编写了一个暴力破解词典生成器,通过函数的递归完成字符的枚举,但资源占用率太大了,请问更如何修改,我是残疾人,没有上过学,请各位高手不要笑话我,
Form1.frm代码如下
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "破解词典生成器 V1.0"
ClientHeight = 4980
ClientLeft = 45
ClientTop = 435
ClientWidth = 9525
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4980
ScaleWidth = 9525
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command4
Caption = "清空所有列表"
Height = 495
Left = 6480
TabIndex = 17
Top = 4320
Width = 1335
End
Begin VB.Frame Frame2
Caption = "字段:"
Height = 2295
Left = 6360
TabIndex = 12
Top = 240
Width = 3015
Begin VB.ListBox List1
Height = 1860
ItemData = "Form1.frx":0000
Left = 120
List = "Form1.frx":0002
TabIndex = 13
Top = 240
Width = 2775
End
End
Begin VB.ListBox List2
Height = 1320
ItemData = "Form1.frx":0004
Left = 240
List = "Form1.frx":0006
TabIndex = 11
Top = 2880
Width = 9015
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4440
Top = 4320
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "保存文件"
End
Begin VB.CommandButton Command5
Caption = "退出"
Height = 495
Left = 7920
TabIndex = 6
Top = 4320
Width = 1215
End
Begin VB.CommandButton Command3
Caption = "生成"
Height = 495
Left = 5160
TabIndex = 5
Top = 4320
Width = 1215
End
Begin VB.Frame Frame1
Caption = "文字信息"
Height = 2295
Left = 240
TabIndex = 0
Top = 240
Width = 5895
Begin VB.TextBox Text2
Height = 270
Left = 1440
Locked = -1 'True
TabIndex = 15
Text = "1"
Top = 1560
Width = 615
End
Begin MSComCtl2.UpDown UpDown1
Height = 270
Left = 2040
TabIndex = 14
Top = 1560
Width = 255
_ExtentX = 450
_ExtentY = 476
_Version = 393216
Enabled = -1 'True
End
Begin VB.OptionButton Option1
Caption = "其它:"
Height = 375
Index = 3
Left = 360
TabIndex = 10
Top = 840
Width = 975
End
Begin VB.OptionButton Option1
Caption = "0 ~ 9"
Height = 375
Index = 2
Left = 2760
TabIndex = 9
Top = 360
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "A ~ Z"
Height = 375
Index = 1
Left = 1560
TabIndex = 8
Top = 360
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "a ~ z"
Height = 375
Index = 0
Left = 360
TabIndex = 7
Top = 360
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "删除"
Height = 495
Left = 4320
TabIndex = 4
Top = 1560
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "添加"
Height = 495
Left = 2880
TabIndex = 3
Top = 1560
Width = 1215
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000012&
Height = 315
Left = 1440
TabIndex = 1
Text = "每个字符用半角逗号隔开"
Top = 840
Width = 3975
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "字段行数:"
Height = 225
Left = 480
TabIndex = 16
Top = 1590
Width = 900
End
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "词典列表:"
Height = 180
Left = 240
TabIndex = 2
Top = 2640
Width = 900
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False