home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmAddIn
- BackColor = &H00000000&
- BorderStyle = 3 'Fixed Dialog
- Caption = "KeyGen coded by CyberBlade..."
- ClientHeight = 3540
- ClientLeft = 2175
- ClientTop = 1935
- ClientWidth = 4515
- Icon = "frmAddIn.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3540
- ScaleWidth = 4515
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command1
- Caption = "Quit"
- Height = 495
- Left = 2280
- TabIndex = 5
- Top = 2880
- Width = 1815
- End
- Begin VB.CommandButton cmdGenerate
- Caption = "Generate"
- Height = 495
- Left = 360
- TabIndex = 4
- Top = 2880
- Width = 1815
- End
- Begin VB.Frame Frame2
- BackColor = &H80000007&
- Caption = "Serial:"
- ForeColor = &H000000FF&
- Height = 975
- Left = 240
- TabIndex = 2
- Top = 1560
- Width = 3975
- Begin VB.TextBox txtKey
- BackColor = &H00E0E0E0&
- ForeColor = &H00800000&
- Height = 375
- Left = 240
- Locked = -1 'True
- TabIndex = 3
- Text = "< Your serial will be displayed here >"
- Top = 360
- Width = 3495
- End
- End
- Begin VB.Frame Frame1
- BackColor = &H80000007&
- Caption = "Please enter your name in the field below:"
- ForeColor = &H000000FF&
- Height = 975
- Left = 240
- TabIndex = 0
- Top = 480
- Width = 3975
- Begin VB.TextBox txtName
- ForeColor = &H00000000&
- Height = 375
- Left = 240
- TabIndex = 1
- Text = "CyberBlade"
- Top = 360
- Width = 3375
- End
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "This is a KeyGen for CrackMe v1.0 by Eternal Bliss and Volatility "
- ForeColor = &H00FFFFFF&
- Height = 495
- Left = 0
- TabIndex = 6
- Top = 0
- Width = 4095
- End
- Begin VB.Line Line3
- BorderColor = &H00FFFFFF&
- X1 = 0
- X2 = 4560
- Y1 = 2640
- Y2 = 2640
- End
- Begin VB.Line Line2
- BorderColor = &H00FFFFFF&
- X1 = 4560
- X2 = 4575
- Y1 = 2520
- Y2 = 2535
- End
- Begin VB.Line Line1
- BorderColor = &H00E0E0E0&
- BorderWidth = 2
- X1 = 4560
- X2 = 4575
- Y1 = 2520
- Y2 = 2535
- End
- Attribute VB_Name = "frmAddIn"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdGenerate_Click()
- Dim Key As Double
- Dim UserName(1 To 255) As Double 'This hold the AscII values of the UserName
- Dim Value1 As Double
- Dim Value2 As Double
- 'Length of Name must be greater than 5 !
- If Len(txtName.Text) < 5 Then
- MsgBox "You have to enter at least 5 chars !", vbInformation + vbOKOnly, "Error!"
- Exit Sub
- End If
- 'Read the AscII values of the UserName
- For i = 1 To Len(txtName.Text)
- UserName(i) = Asc(Mid(txtName.Text, i, 1))
- 'Add Character 1 to character 8
- Value1 = UserName(1) + UserName(8)
- 'and so on...
- Value1 = Value1 * UserName(2)
- Value1 = Value1 + UserName(7)
- Key = (((((Value1 * UserName(3)) + UserName(6)) * UserName(4)) + UserName(5)) * UserName(5))
- txtKey.Text = Key
- End Sub
- Private Sub Command1_Click()
- Unload Me
- End Sub
-