- [hwsoot] 学习 04/26 03:20
- [游客] 能不能把破解版发我啊?谢谢啊.zjjhfhj@qq.com 05/11 17:35
- [parse] 赞一个! 04/17 20:46
- [游客] 能不能把破解版发我啊?谢谢啊,673856545@qq.com 04/17 13:53
- [游客] 能不能把破解版发我啊?谢谢啊,86738484@qq.com 04/06 21:26
- [游客] 解决了 谢谢~~ 02/24 08:56
- [游客] 怎么解决的呢? 02/24 08:54
- [游客] 能把你破解的版本发给我吗,谢谢.306844939@qq.com 01/18 19:34
- [游客] 通过了,谢谢~~~ 12/06 16:38
- [gsyangchao] 非常不错! 10/09 10:43
- [游客] [url=http://www.gddzbq.com]深圳搬家公司[/url] [url=http 03/02 15:10
- [ewer87] 找到了.PHPmyadmin.. 05/24 14:00
- [ewer87] 请问你在8tt,那个数据库是怎么应用的? 是自己上传么? 为什么传不上去? 不懂。我是第 05/24 13:19
[2010-03-15 14:21] 一个CM的注册机!!
CM在如下地址:
http://www.unpack.cn/viewthread.php?tid=18678&extra=&page=1
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void main()
{
char usr[100]; /*放输入的用户名*/
char const_str[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
char fin_str[3]; /*将注册码的前3位放在这里*/
int i,str_len;
double tol1=0;
long int temp1;
gets(usr); /*接收用户名*/
str_len=strlen(usr); /*获取用户名长度*/
for(i=0;i<str_len;i++) /*循环计算*/
{
tol1+=usr[str_len-i-1];
tol1=tol1*95.0;
}
temp1=tol1;
while(temp1>4294967295)
{
temp1=temp1>>4;
}
while(temp1>300)
{
temp1-=51;
}
temp1%=51;
fin_str[0]=const_str[temp1]; /*注册码的第一位*/
temp1=tol1;
temp1^=4417869;
while(temp1>300)
{
temp1-=51;
}
fin_str[1]=const_str[temp1%51]^32; /*注册码第二位*/
fin_str[2]='-'; /*注册码的第三位*/
printf("%c%c%c",fin_str[0],fin_str[1],fin_str[2]);
temp1=tol1;
printf("%04X",temp1>>16);
printf("%X",temp1);
getch();
}
http://www.unpack.cn/viewthread.php?tid=18678&extra=&page=1
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void main()
{
char usr[100]; /*放输入的用户名*/
char const_str[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
char fin_str[3]; /*将注册码的前3位放在这里*/
int i,str_len;
double tol1=0;
long int temp1;
gets(usr); /*接收用户名*/
str_len=strlen(usr); /*获取用户名长度*/
for(i=0;i<str_len;i++) /*循环计算*/
{
tol1+=usr[str_len-i-1];
tol1=tol1*95.0;
}
temp1=tol1;
while(temp1>4294967295)
{
temp1=temp1>>4;
}
while(temp1>300)
{
temp1-=51;
}
temp1%=51;
fin_str[0]=const_str[temp1]; /*注册码的第一位*/
temp1=tol1;
temp1^=4417869;
while(temp1>300)
{
temp1-=51;
}
fin_str[1]=const_str[temp1%51]^32; /*注册码第二位*/
fin_str[2]='-'; /*注册码的第三位*/
printf("%c%c%c",fin_str[0],fin_str[1],fin_str[2]);
temp1=tol1;
printf("%04X",temp1>>16);
printf("%X",temp1);
getch();
}
评论次数(2) |
浏览次数(1215) |
类型(加密与解密) |
收藏此文 |