一个暴力破解词典生成器,通过函数的递归完成字符的枚举,但资源占用率太大了,请问更如何修改,我是残疾人,请各位高手不要笑话我

iity2008 iity2008 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我编写了一个暴力破解词典生成器,通过函数的递归完成字符的枚举,但资源占用率太大了,请问更如何修改,我是残疾人,没有上过学,请各位高手不要笑话我,
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
...全文

相关推荐

用Python暴力破解‘猴子分桃’经典算法题,顺便聊聊递归和迭代的实战选择

本文通过Python暴力破解‘猴子分桃’经典算法题,深入探讨了递归与迭代的实战选择。从暴力枚举法到递归解法,再到迭代优化,详细分析了各种方法的优缺点及适用场景,帮助读者提升算法设计和实现能力。文章还提炼了算法选择的通用框架,适用于LeetCode等编程挑战。

weixin_33737134

从残局到算法:用递归与剪枝暴力破解斗地主必胜策略

第一次接触斗地主残局是在大学宿舍里,室友拿着手机愁眉苦脸地盯着屏幕,屏幕上显示着双方明牌的对战局面。我见过最复杂的残局涉及12张手牌,可能的出牌组合超过5000种。面对这种规模的问题,单纯的暴力搜索需要近10分钟才能得出结果——这显然不符合实际需求。在我的笔记本上测试,一个中等复杂度的10张牌残局,未经优化的递归需要执行约200万次函数调用。我曾经因为漏掉了三带一的特殊情况,导致算法在某个残局中给出了错误结果。一个有趣的发现是:在某些残局中,主动"放水"(故意不出最大的牌)反而是制胜关键。

Hellowongwong

暴力破解(验证码绕过)

暴力破解--验证码绕过 on client:正确的应该是,后端生成验证码,传到前端时是图片的形式,(而不是以字符串的形式)用户在前端输入验证码,与后端的验证码值做对比。如果想要爆破的话,在每次请求前要把上一次请求的响应包获取到,把其中的token值取出来,token采用递归payload,把上次请求的token值作为本次请求的token值,然后再进行发送,进入options选项,从响应中提取选项,fetch response,在响应包中选中token值,然后提交token,即可运行。

宁可123

pikachu平台暴力破解详解

声明:文章提到的网站和内容,只是学习交流,如有任何违法行为与本人无关,切勿触碰法律底线。

轨迹H

暴力破解-简单枚举

输入正整数n,按从大到小的顺序输出所以形如abcde/fghij=n的表达式,其中a~h恰好是0~9的一个排列,2 样例输入: 62 样例输出: 79546/01283=62 94736/01528=62

隐无影
评论 10
收藏 已收藏
分享
返回顶部
iity2008
VB基础类 7,788 成员 197,583 内容