能力值:
( LV9,RANK:1250 )
2 楼
能力值:
( LV2,RANK:10 )
3 楼
我来发个注册机,同时指出楼主的程序有问题,会死循环,当输入含i时,会死循环,楼主改一下
bool crack(const char * in ,char *out)
{
int i;
int len=strlen(in);
int c;
double d;
int it;
char bufname[100];
char sn[100];
char tmp[0x100];
memset(sn,0,sizeof(sn));
for(i=0;i<len;i++)
{
c=in[i];
d=tan(c);
d*=10;
it=(int)d;
__asm
{
lea ebx,bufname
mov eax,it
cdq
xor eax,edx
sub eax,edx
cmp eax, 0x21
jge short _00401240
add eax, 0x1F
jmp short _0040124F
_00401240:
cmp eax, 0x7E
jle short _0040124F
cdq
mov ecx, 0x7F
idiv ecx
mov eax, edx
_0040124F:
mov edx, eax
and edx, 0x80000001
jns short _0040125E
dec edx
or edx, 0xFFFFFFFE
inc edx
_0040125E:
je short _00401266
lea eax, dword ptr ds:[eax+eax*2+1]
jmp short _0040126B
_00401266:
cdq
sub eax, edx
sar eax, 1
_0040126B:
cmp eax, 0x21
jl short _0040124F
cmp eax, 0x7F
jg short _0040124F
cmp eax, 0x21
jle short _00401286
cmp eax, 0x7F
jge short _00401286
add ebx,i
mov byte ptr ss:[ebx], al
_00401286:
}
}
for(i=0;i<0x100;i++)
{
tmp[i]=i;
}
for(i=0;i<len;i++)
{
sn[i]=bufname[i]^tmp[i];
}
strcpy(out,sn);
return true;
}
能力值:
( LV9,RANK:1250 )
4 楼
的确会陷入死循环,谢谢提醒!