Jump to content
Tuts 4 You

I Need An Easy Crackme Source Code


Guest salam2002

Recommended Posts

Guest salam2002
Posted

Hi all,

Could you please post source code for a very easy CrackMe.

I'm not VC++ programmer, but i need this source code *urgent*.

Thanks.

Posted

If your not a programmer, what is the source code going to do for you?

What perxactly you trying to do?

Guest salam2002
Posted (edited)

I can write small programs using C# and VB. so when i read C++ i can understand most of it.

I need it for educational purpose combines between cracking and programming.

Edited by salam2002
Oldschool Hardtrancer
Posted

even keygenme^^

#include <iostream>
#include <windows.h>
#include <conio.h>
#pragma comment(linker, "/OPT:NOWIN98")
#pragma comment(lib, "user32.lib")int main()
{
char name[200];
char serial[200];
char validSerial[200];
char fixedSerialString[200] = "Sample KeyGenMe"; int encoder = 0; do
{
std::cout << "Registration Name: ";
std::cin >> name;
std::cout << "Registration Serial: ";
std::cin >> serial;
int len = strlen(name);
if (len < 35 && len > 2)
{
for (int i = 0; i < len; i++)
{
encoder = encoder + name[i];
encoder = encoder + 0xABCDEF;
} wsprintf(validSerial, "%s-%X", fixedSerialString, encoder); int equal = strcmp(validSerial, serial);
if (equal == 0)
{
std::cout << "Registration Succeeded";
}
else
{
std::cout <<"Registration Failed";
}
}
else
{
std::cout <<"Registration Failed";
}
getch();
system("cls");
}
while (1 != 0);
}
Guest salam2002
Posted

O Oldschool Hardtrancer, Thanks !!!

helpful code.

Oldschool Hardtrancer
Posted

np

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...