Posted October 26, 200717 yr 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.
October 26, 200717 yr If your not a programmer, what is the source code going to do for you?What perxactly you trying to do?
October 26, 200717 yr 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 October 26, 200717 yr by salam2002
October 26, 200717 yr 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);}
Create an account or sign in to comment