ColorSchemer Studio 2.1 KeyGen

It is passed a long time since I made a keygen so today I found a bit of time to make a jump into the past… go ahead to see a video and the source…

3nagerror

The registration routine calculates a MD5 for the “Order Number” and for the hardcoded string “CSS2” then joins the 2 hashes and calculates a new MD5, cuts the last 16 chars , and finally reverses the string and append the suffix “CSS2”.

public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
if (tname.Text.Length < 8)
{
MessageBox.Show(“Order Number must contains at least 8 characters.”,Form1.ActiveForm.Text);
}
else
{
var name = MD5(tname.Text.ToUpper());
var hardcoded = MD5(“CSS2”);
string hashstr = MD5(name + hardcoded);
string cutstr = hashstr.Remove(0, 16);
string reversestr = ReverseString(cutstr).ToUpper(); ;
tserial.Text = “CSS2” + reversestr;
}
}

public static string ReverseString(string str)
{
char[] arr = str.ToCharArray();
Array.Reverse(arr);
return new string(arr);
}

public string MD5(string str)
{
MD5 md5 = System.Security.Cryptography.MD5.Create();
byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(str);
byte[] hash = md5.ComputeHash(inputBytes);

StringBuilder sb = new StringBuilder();
for (int i = 0; i < hash.Length; i++)
{
sb.Append(hash[i].ToString(“x2”));
}
return sb.ToString();
}
}

1csskg

regdsjda

Advertisements

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s