home *** CD-ROM | disk | FTP | other *** search
/ The Elite Hackers Toolkit / TheEliteHackersToolkitVolume1_1998.rar / HACKERS.BIN / appcraks / C4N_EXI.ZIP / EXILE-K.CPP < prev    next >
C/C++ Source or Header  |  1998-04-10  |  667b  |  36 lines

  1.  #include <string.h>
  2.  #include <stdlib.h>
  3.  #include <stdio.h>
  4.  #include <ctype.h>
  5.  
  6.  int main(void)
  7.  {
  8.     char code[10];
  9.     long eax, ebx, edx;
  10.  
  11.     eax = 0;
  12.     ebx = 0;
  13.     edx = 0;
  14.  
  15.     printf("\n\n");
  16.     printf("Exile I - Escape from the Pit *KeyGen*\n");
  17.     printf("By drlan [Me'97/C4N]!\n\n");
  18.     printf("Please enter the serial number given: ");
  19.     eax = atol(gets(code));
  20.  
  21.     eax = eax * 0x017;
  22.     ebx = 0x0f1b34;
  23.     eax = eax % ebx;
  24.     eax = eax + 0x0cbd0;
  25.     eax = eax * 0x07;
  26.     ebx = 0x0dbba0;
  27.     eax = eax % ebx;
  28.     eax = eax + 0x0186a0;
  29.     ebx = 0x07530;
  30.     eax = eax % ebx;
  31.     eax = eax + 0x064;
  32.  
  33.     printf("\nYour registration code is: %d\n\n", eax);
  34.  
  35.     return 0;
  36.  }