- UID
- 308
注册时间2005-3-15
阅读权限10
最后登录1970-1-1
周游历练

该用户从未签到
|
发表于 2005-5-14 10:48:01
|
显示全部楼层
我发一个注册机吧~~
菜 第一次写`~~
#include<stdio.h>
#include<string.h>
void main()
{
int i,temp,t2;
char name[20],temp1;
int sn[10];
int len;
printf("输入用户名:");
scanf("%s",name);
len=strlen(name);
for(i=0;i<len;i++)
{
temp1=0x4bf77a0L%name[i]+0x30;
while(temp1>0x7f)
temp1=temp1-0x14;
sn[i]=temp1+0x0;
}
temp=sn[0]+0x0;
for(;i<10;i++)
{
temp=0x14375792L%temp;
t2=temp+0x30;
while(t2>0x7f)
{
t2=0x14375792L%t2+0x30;
}
sn[i]=t2+0x0;
temp=temp+sn[0];
}
printf("\n注册码是:");
for(i=0;i<10;i++) {
sn[i]^=0x15;
printf("%c",sn[i]); }
printf("\n");
getch();
} |
|