首页
社区
课程
招聘
[原创]2005CrackMe#1 by KuNgBiM 源代码[分享]
发表于: 2005-12-25 14:50 7034

[原创]2005CrackMe#1 by KuNgBiM 源代码[分享]

2005-12-25 14:50
7034

Private Sub cmdCheck_Click()
    Dim uname As String
    Dim ucode As String
    Dim usn As String
    Dim c As String
    Dim constv1 As String
    Dim constv2 As String
    Dim tmp As String
   
    Dim i As Integer
    Dim strlen As Integer
    Dim d As Integer
   
    Dim t1, t2 As Integer
   
    On Error Resume Next
   
    t1 = 0
    t2 = 1
    t2 = t2 / t1
   

    If Len(Text1.Text) <= 0 Then Exit Sub
    If Len(Text2.Text) <= 0 Then Exit Sub
   
    uname = Text1.Text
    ucode = Text2.Text
    usn = ""
    constv1 = "uZgL3qPMUPBCyUouhXU1gw3T9WCtgtUvwXMIhtPRXY8woGYtCw/YGMfElBu2ed47iuMoUy8TOnsLTCvr6C4nU1kJcTphllMwUkI+PctmLTDwCjARo/kddgx6UXyvxP30CE"
    constv2 = "MiMPo2/9XeFlHnNVjx8ASTMlpvGNWwW6/mOSKwvjiSI"
   
    t1 = 0
    t2 = 1
    t2 = t2 / t1
   
    strlen = Len(uname)
   
    For i = 1 To strlen
   
        t1 = 0
        t2 = 1
        t2 = t2 / t1
        
        c = Mid(uname, i, 1)
        d = InStr(1, constv1, c, vbBinaryCompare)
        If d = 0 Then
            d = (Asc(c) + 65536) Mod 16 + 1
        End If
        d = d - 1
        d = d Mod 16
        d = d + 1
        c = Mid(constv2, d, 1)
        usn = usn & c
    Next
   
    tmp = ""
    strlen = Len(ucode)
    For i = 1 To strlen
   
        t1 = 0
        t2 = 1
        t2 = t2 / t1
        
        c = Mid(ucode, i, 1)
        d = Asc(c) - 1
        c = Chr(d)
        tmp = tmp & c
    Next
        
    t1 = 0
    t2 = 1
    t2 = t2 / t1
   
    If usn = tmp Then
        MsgBox "Yeh~~!!You good kind!!", vbInformation, ":)"
        crackme1.Caption = "CrackMe 2005 #1 by KuNgBiM (Registered)"
     Label1.Caption = "Registered"
     Label1.ForeColor = &HFF0000
     cmdCheck.Enabled = False
        
    End If
End Sub

Private Sub cmdAbout_Click()
MsgBox "2005' The first Crackme that I design, Thank all of the member of DFCG !!!", vbOKOnly, "CrackMe 2005 #1 by KuNgBiM"

End Sub

Private Sub cmdExit_Click()
End
End Sub


[招生]系统0day安全班,企业级设备固件漏洞挖掘,Linux平台漏洞挖掘!

收藏
免费 7
支持
分享
最新回复 (6)
雪    币: 538
活跃值: (32)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
学习下的说..
2005-12-25 20:20
0
雪    币: 204
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
3Q!

我很菜,VB不很明白。

    For i = 1 To strlen
   
        t1 = 0
        t2 = 1
        t2 = t2 / t1
        
        c = Mid(uname, i, 1)
        d = InStr(1, constv1, c, vbBinaryCompare)
        If d = 0 Then
            d = (Asc(c) + 65536) Mod 16 + 1
        End If
        d = d - 1
        d = d Mod 16
        d = d + 1
        c = Mid(constv2, d, 1)
        usn = usn & c
    Next

能否解释一下每句的用意!
2005-12-26 10:09
0
雪    币: 817
活跃值: (1927)
能力值: ( LV12,RANK:2670 )
在线值:
发帖
回帖
粉丝
4
最初由 xyxb 发布
3Q!

我很菜,VB不很明白。

For i = 1 To strlen
........


这里主要是用于异常处理
2005-12-26 15:52
0
雪    币: 313
活跃值: (440)
能力值: ( LV12,RANK:530 )
在线值:
发帖
回帖
粉丝
5
最初由 KuNgBiM 发布


这里主要是用于异常处理


异常处理?是不是就是处理ASC=0的情况?
2005-12-26 16:02
0
雪    币: 817
活跃值: (1927)
能力值: ( LV12,RANK:2670 )
在线值:
发帖
回帖
粉丝
6
最初由 4nil 发布


异常处理?是不是就是处理ASC=0的情况?


2005-12-27 02:08
0
雪    币: 272
活跃值: (40)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
多谢!学习中
2005-12-31 18:15
0
游客
登录 | 注册 方可回帖
返回
//