home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Texty / crackme / bjanes1.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-10  |  1.2 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.    unsigned long serial;
  9.    char name[100] = {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.    for (;;){
  21.    printf("\nBorna Janes CrackMe 1.0b KeyGEN - d0NE bY TORN@DO in '99\n");
  22.    printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n");
  23.    printf("Name:   ");
  24.    gets(name);
  25.  
  26.    if ((strlen(name)<2)) return 0;
  27.    else break;
  28.    }
  29.  
  30.    serial  = name[0] + name[strlen(name)-1];
  31.    serial *= 999999;
  32.  
  33.    printf("Serial:  %lu\n", serial);
  34.    printf("INFO: That's a space right before your number!");
  35.    return 0;
  36. }
  37.