前不久鄙人很好用的C-Free3.5突然要求需要注册码进行注册,于是就去网上有无注册机乎,经历九九八十一难,终找到一能用的破解程序,运行后输入机器码,问题得到解决,鄙人欣喜不已,欣喜之余,鄙人将此程序发上来与大家共享,希望对大家有用。程序如下:
#include "stdlib.h"
#include "stdio.h"
int main(int argc, char* argv[])
{
           char chKey[128] = {0};
           unsigned int unXORCode, unRemainder, unQuotient, unTmp, unMachineCode;
           printf("Please Key in the Machine Code:\n");
           scanf("%d", &unMachineCode);
           unXORCode      = unMachineCode ^ 0x90909090;
           unRemainder = unXORCode % 0x25;
           unQuotient     = unXORCode;
           if (unRemainder < 0x11)
           {
                   unRemainder += 0x11;
           }
           int i;
           i = 0;
           while (unQuotient != 0)
           {
                   unTmp             = unQuotient % unRemainder;
                   unQuotient /= unRemainder;
                   if (unTmp >= 0xa)
                   {
                           unTmp = unTmp + 0x61 + 0xf6;
                           unTmp &= 0x0ff;
                           chKey[i] = unTmp;
                   }
                   else
                   {
                           chKey[i] = unTmp + 0x30;
                   }
                   i++;
           }
           printf("Key is: \n");
           while (i >= 0)
           {
                   printf("%c", chKey[i]);
                   i--;
           }
           printf("\n");
           return 0;
}
[此贴子已经被作者于2007-8-16 21:32:04编辑过]

 
											





 
	     
											


 
										
					
	
