home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Texty / crackme / ccgen.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-25  |  1.1 KB  |  37 lines

  1. // This is the C++ Source Code of my KeyGEN. I hope you like it.
  2. // I've compiled it using Symantec C/C++ 6.11
  3.  
  4. #include <stdio.h>
  5.  
  6. int main()
  7. {
  8. short int regcode;
  9. char name[1000] = {0};
  10.  
  11. printf("   ____                     __       __\n");
  12. printf("  /  _/_ _  __ _  ___  ____/ /____ _/ /\n");
  13. printf(" _/ //  ' \\/  ' \\/ _ \\/ __/ __/ _ `/ /\n");
  14. printf("/___/_/_/_/_/_/_/\\___/_/  \\__/\\_,_/_/\n");
  15. printf("   ____                          __          __\n");
  16. printf("  / __ \\___ ___ _______ ___  ___/ /__ ____  / /____\n");
  17. printf(" / /_/ / -_|_-</ __/ -_) _ \\/ _  / _ `/ _ \\/ __(_-<\n");
  18. printf("/_____/\\__/___/\\__/\\__/_//_/\\_,_/\\_,_/_//_/\\__/___/\n\n");
  19.  
  20.  
  21.    for (;;){
  22.    printf("\nCrackersConvert 1.0 KeyGEN - d0NE bY TORN@DO in '99\n");
  23.    printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n");
  24.    printf("User Name:         ");
  25.    gets(name);
  26.  
  27.    if (strlen(name)<2)
  28.    {printf("ERROR: The name must be at least 2 chars long!\n"); return 0;}
  29.    else break;
  30.    }
  31.  
  32. regcode = name[0] * 20;
  33.  
  34. printf("Registration Code: REG-%d-CODE\n", regcode);
  35. return 0;
  36. }
  37.