当前位置: 代码迷 >> C语言 >> [开源]C-free3.5注册源代码
  详细解决方案

[开源]C-free3.5注册源代码

热度:477   发布时间:2007-08-16 21:28:24.0
[开源]C-free3.5注册源代码

前不久鄙人很好用的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编辑过]

搜索更多相关的解决方案: 源代码  int  开源  鄙人  

----------------解决方案--------------------------------------------------------
我倒。。。。。还真是OK了。。。。。
其实我倒不觉得C-Free好用。。。。。可能是不习惯
----------------解决方案--------------------------------------------------------
这个是什么算法啊 看不懂
----------------解决方案--------------------------------------------------------
Hash
----------------解决方案--------------------------------------------------------
不是吧,我的 10 个大币就这样的失去价值了

----------------解决方案--------------------------------------------------------
不是没有价值,它的价值是对别人的劳动的支持
----------------解决方案--------------------------------------------------------
看不懂程序 谁能讲讲
----------------解决方案--------------------------------------------------------
Hash函数(对任意输入杂凑成另一组数据,函数关系是单向,如MD5算法)
----------------解决方案--------------------------------------------------------