Jump to content
Tuts 4 You

[keygenme] KeygenMe by SYKO


SYKO

Recommended Posts

Difficulty - Easy

Rules - No reflactor, No IDA pro

Language - VB.NET

I am completely newbie for reversing world...

Edited by SYKO
Link to comment
Share on other sites

public string check(string user, string pass)

{

string str2;

user = this.txtuser.get_Text();

pass = this.txtpass.get_Text();

int num2 = user.get_Length();

for (int i = 1; i <= num2; i++)

{

str2 = Conversions.ToString(Conversions.ToDouble(str2) + Strings.Asc(user));

}

if ((Operators.CompareString(pass, "", false) == 0) | (Operators.CompareString(user, "", false) == 0))

{

MessageBox.Show("Please Enter Valid UserName And Key to Register.", "ERROR", 5, 0x30);

return str2;

}

if (Operators.CompareString(pass, Conversions.ToString(Conversions.ToDouble(str2) + 5.0) + user + str2 + Conversions.ToString(Strings.Asc(user)), false) == 0)

{

Interaction.MsgBox("Thanks!! Your Key is now Registered.", 0, "Registered.");

this.Close();

return str2;

}

Interaction.MsgBox("Invalid UserName And Key. Try Again.", 0, "Invalid");

this.Close();

return str2;

}

Link to comment
Share on other sites

public string check(string user, string pass)

{

string str2;

user = this.txtuser.get_Text();

pass = this.txtpass.get_Text();

int num2 = user.get_Length();

for (int i = 1; i <= num2; i++)

{

str2 = Conversions.ToString(Conversions.ToDouble(str2) + Strings.Asc(user));

}

if ((Operators.CompareString(pass, "", false) == 0) | (Operators.CompareString(user, "", false) == 0))

{

MessageBox.Show("Please Enter Valid UserName And Key to Register.", "ERROR", 5, 0x30);

return str2;

}

if (Operators.CompareString(pass, Conversions.ToString(Conversions.ToDouble(str2) + 5.0) + user + str2 + Conversions.ToString(Strings.Asc(user)), false) == 0)

{

Interaction.MsgBox("Thanks!! Your Key is now Registered.", 0, "Registered.");

this.Close();

return str2;

}

Interaction.MsgBox("Invalid UserName And Key. Try Again.", 0, "Invalid");

this.Close();

return str2;

}

don't use reflector.

I think you use it.

Don't mind if I'm wrong.

Link to comment
Share on other sites

The [keygenme] tag has been added to your topic title.

Please remember to follow and adhere to the topic title format - thankyou!

[This is an automated reply]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...