回 帖 发 新 帖 刷新版面

主题:[转帖]C-free3.5  自己动手用C语言来 来看注册码~~

把下面一段 程序在C-free上运行  就能会跳出个框让你输你的 机器编码,你之要输进去后 就能看道你自己的注册码了哈哈~~大家都行动起来吧~~
[em5]自己动手哈~~~

#include<stdlib.h>
#include<stdio.h>
main()
{
        int i=0;
        char chKey[128]={0};
        unsigned int unXORCode,unRemainder,unQuotient,unTmp,unMachineCode;
        printf("Machine Code:");
        scanf("%d",&unMachineCode);

        unXORCode=unMachineCode^0x90909090;
        unRemainder=unXORCode%0x25;
        unQuotient=unXORCode;
        if (unRemainder<0x11) unRemainder+=0x11;
        
        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("Your key is:");
        while (i>0) {i--;printf("%c",chKey[i]);}
        printf("\n");
}

回复列表 (共6个回复)

沙发

搞鬼啊``~~~`

板凳

我什么都看不懂

3 楼

什么垃圾玩也

4 楼

看着像病毒,糊里糊涂的。

5 楼

只是一套简单的2进制算法 没什么特别

6 楼

C-free 3.5软件  啊 !  注册啊!

我来回复

您尚未登录,请登录后再回复。点此登录或注册