C-Free 软件就请大家去baidu搜索下载吧,版本是3.5.2. 破解方法如下: /*下面这些代码是用C-Free语言编写,当然在C-Free里面编译/运行一遍即可. 如果让C-Free的作者知道自己的软件用来编译破解自己的代码,肯定会气死. 在C-Free软件里面新建一个文件 把这些代码复制到编辑区,编译、运行 点击软件的“帮助--注册” 把机器码输入到运行的程序,按回车健 把输出的注册码输入到注册框注册就可以了*/ #include<stdlib.h> #include<stdio.h> main() { int i=0; char chKey[128]={0}; unsigned int unXORCode,unRemainder,unQuotient,unTmp,unMachineCode; printf("Machine Code:"); scanf("%d",&unMachineCode);
unXORCode=unMachineCode^0x90909090; unRemainder=unXORCode%0x25; unQuotient=unXORCode; if (unRemainder<0x11) unRemainder+=0x11; 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("Your key is:"); while (i>0) {i--;printf("%c",chKey[i]);} printf("/n"); }
下一篇链接:AVR单片机的主要特性
上一篇链接:AVR单片机C语言入门一例
|