| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 876 人关注过本帖
标题:[开源]C-free3.5注册源代码
取消只看楼主 加入收藏
lipng123
Rank: 1
等 级:新手上路
帖 子:62
专家分:0
注 册:2007-6-28
收藏
 问题点数:0 回复次数: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 开源 鄙人 
2007-08-16 21:28
快速回复:[开源]C-free3.5注册源代码
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011744 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved