Guest salam2002 Posted October 26, 2007 Posted October 26, 2007 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.
kittmaster Posted October 26, 2007 Posted October 26, 2007 If your not a programmer, what is the source code going to do for you?What perxactly you trying to do?
Guest salam2002 Posted October 26, 2007 Posted October 26, 2007 (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 October 26, 2007 by salam2002
Oldschool Hardtrancer Posted October 26, 2007 Posted October 26, 2007 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 October 27, 2007 Posted October 27, 2007 O Oldschool Hardtrancer, Thanks !!!helpful code.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now