Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #16  
Old 10-15-2013, 16:53
giv's Avatar
giv giv is offline
VIP
 
Join Date: Jan 2011
Location: Romania
Posts: 1,663
Rept. Given: 803
Rept. Rcvd 1,283 Times in 561 Posts
Thanks Given: 228
Thanks Rcvd at 567 Times in 241 Posts
giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299
At least here is my keygen in VB 2010.
The SHA function must be modified as chessgog101 says.

Quote:
Option Strict On

Imports System.Text
Imports System.Security.Cryptography

Public Class frmKeygen

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtName.TextChanged
If txtName.Text.Length < 1 Then
txtSerial.Text = "Name must have at least 1 char "
Return
End If
Dim sirsha As String = EncryptSHA256Managed(txtName.Text.Trim).ToUpper
Dim ebx As Integer = 0
Dim eax As Integer = 0
Dim ecx As Integer = 0
sirsha = sirsha.Replace(" ", "")
For i = 0 To sirsha.Length - 1
Dim caracter As Integer = CInt("&H" + (sirsha.Substring(i, 2)))
i = i + 1
ebx = caracter
ebx = ebx * ecx
ebx = ebx * ebx
ebx = ebx + &H50
eax = eax + ebx
ecx = ecx + 1
Next
eax = eax Xor &H12345678
txtSerial.Text = eax.ToString
End Sub

Public Function EncryptSHA256Managed(ByVal ClearString As String) As String
Dim uEncode As New ASCIIEncoding()
Dim bytClearString() As Byte = uEncode.GetBytes(ClearString)
Dim sha As New _
System.Security.Cryptography.SHA256Managed()
Dim hash() As Byte = sha.ComputeHash(bytClearString)
Dim sBuilder As New StringBuilder
For Each b As Byte In hash
sBuilder.AppendFormat("{0:x2} ", b)
Next
Return sBuilder.ToString()
End Function

End Class
Attached Files
File Type: rar Keygen.rar (9.5 KB, 11 views)
Reply With Quote
The Following User Gave Reputation+1 to giv For This Useful Post:
chessgod101 (10-15-2013)
  #17  
Old 10-15-2013, 17:32
XorRanger XorRanger is offline
Family
 
Join Date: May 2013
Location: Nigeria
Posts: 82
Rept. Given: 139
Rept. Rcvd 86 Times in 27 Posts
Thanks Given: 23
Thanks Rcvd at 25 Times in 11 Posts
XorRanger Reputation: 86
@giv, by modified, do you mean that you modified the 4 uint values used in the creation of the hash?
As far as i know, the Sha-256 hashing is embedded in the .NET framework and it does not give room for modifying the uint values except you implemented the whole crypto procedure from the scratch. I have seen such implementation for md5 before but not for sha-256. Could you share your implementation please?
__________________
We are on a quest to understand the inexplicable,break the unbreakable.
This is our path,our eternal journey.
Reply With Quote
  #18  
Old 10-15-2013, 19:00
XorRanger XorRanger is offline
Family
 
Join Date: May 2013
Location: Nigeria
Posts: 82
Rept. Given: 139
Rept. Rcvd 86 Times in 27 Posts
Thanks Given: 23
Thanks Rcvd at 25 Times in 11 Posts
XorRanger Reputation: 86
edit:
Could Not Edit The Previous Post.
@giv, Your Hash Does Not Seem To Be Modified Since The Magic Byte In Your Keygen are The Same With The Original SHA-256 Implementation.

Here Are The Bytes.

0x6a09e667;
0xbb67ae85;
0x3c6ef372;
0xa54ff53a;
0x510e527f;
0x9b05688c;
0x1f83d9ab;
0x5be0cd19;
__________________
We are on a quest to understand the inexplicable,break the unbreakable.
This is our path,our eternal journey.
Reply With Quote
  #19  
Old 10-16-2013, 01:19
giv's Avatar
giv giv is offline
VIP
 
Join Date: Jan 2011
Location: Romania
Posts: 1,663
Rept. Given: 803
Rept. Rcvd 1,283 Times in 561 Posts
Thanks Given: 228
Thanks Rcvd at 567 Times in 241 Posts
giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299
Look at uEncode in the SHA function.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ripping from v0!d keygenme 1 Zeocrack Source Code 4 10-10-2022 04:15
Keygenme (Easy?) dila Source Code 8 07-25-2015 20:43


All times are GMT +8. The time now is 22:51.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )