能力值:
( LV4,RANK:40 )
|
-
-
12 楼
复制过去了,没验证不知道对不对,复制的数组有没有问题,要是有人发个序列号验证下就好了,可能顺序不对。
我不会WINDOWS上编程序,所以只提供C程序,会的帮忙给大家写个吧,反正我是用不到这个东西。
序列号就是 低32位 di_ 32 = 0x38333439; 中间32位 zhong_32 = 0x16513030; 高32位 gao_32 = 0x22004d00;
#include <stdio.h>
void main() {
unsigned int di_32, zhong_32, gao_32; //序列号
unsigned int wei8_0, wei8_1, wei8_2, wei8_3;
unsigned int wei8_4, wei8_5, wei8_6, wei8_7;
unsigned int wei8_8, wei8_9, wei8_a, wei8_b;
unsigned char mima[8];
unsigned int ID[1024] = {
0x25, 0xe6, 0xbc, 0x70,
0xf1, 0x6d, 0x05, 0x4c,
0x3b, 0xc8, 0xfb, 0x4a,
0x3b, 0x15, 0x65, 0xcc,
0xf8, 0xca, 0xa8, 0x26,
0x8f, 0xa8, 0x5b, 0x2e,
0x9d, 0xbb, 0x19, 0xd4,
0x49, 0xf1, 0xad, 0xa1,
0x21, 0x69, 0xe9, 0xc2,
0x54, 0xfd, 0x2f, 0x15,
0x20, 0x44, 0x7d, 0x93,
0xd4, 0x29, 0xd8, 0x86,
0x03, 0x67, 0x05, 0x86,
0x38, 0xeb, 0x5e, 0xc5,
0x5b, 0xca, 0x69, 0xf7,
0xee, 0x21, 0x37, 0xa3,
0xe2, 0xef, 0x28, 0xd0,
0xeb, 0x67, 0x56, 0x00,
0xd5, 0xbc, 0x11, 0x5f,
0xcd, 0xfb, 0x09, 0x2c,
0x1e, 0xba, 0xd3, 0xa6,
0x23, 0x34, 0x73, 0x15,
0x01, 0xf7, 0xe5, 0xcd,
0xe2, 0x62, 0xdd, 0xbf,
0x44, 0xf9, 0x3f, 0xfc,
0x26, 0x58, 0xbc, 0x53,
0x25, 0xf9, 0xd6, 0x39,
0x58, 0xd4, 0x43, 0x34,
0x40, 0xc6, 0x0c, 0xa2,
0xc8, 0x57, 0x28, 0xdc,
0x06, 0xe3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a0, 0xab, 0xe5,
0x19, 0x48, 0x3b, 0x94,
0x3b, 0xcd, 0x2d, 0x55,
0xe5, 0x49, 0x5f, 0x8f,
0xab, 0x66, 0x40, 0x99,
0x14, 0x15, 0xeb, 0xf3,
0x23, 0xda, 0x69, 0x41,
0xc2, 0xf2, 0xdd, 0x0e,
0xc2, 0xda, 0xfe, 0x24,
0x83, 0xd4, 0x83, 0x98,
0xa5, 0x9a, 0x12, 0xb0,
0x4b, 0x2a, 0xc4, 0xb4,
0x3f, 0xf4, 0x88, 0x66,
0xf4, 0xc5, 0x24, 0x43,
0x5f, 0x7d, 0x2b, 0x42,
0xa9, 0x3b, 0xe5, 0x81,
0x96, 0x4b, 0x70, 0x20,
0x35, 0x9d, 0x00, 0x05,
0x94, 0xcc, 0x12, 0x56,
0xf8, 0x44, 0xaf, 0xa3,
0xa1, 0x8d, 0x2d, 0xbf,
0xd6, 0x21, 0x33, 0xa7,
0x70, 0x0f, 0xaf, 0x80,
0xdc, 0x0f, 0xec, 0xaf,
0x2d, 0x6e, 0x18, 0x0b,
0xb4, 0xf9, 0x43, 0xb0,
0x90, 0xe3, 0x64, 0xe0,
0xf4, 0x69, 0xf7, 0x0d,
0x9f, 0xcb, 0x0d, 0x29,
0x53, 0x86, 0xcf, 0x8e,
0x5b, 0xd3, 0x24, 0x2b,
0x0d, 0xec, 0x4e, 0xc9,
0x90, 0x38, 0xbd, 0x0e,
0x9b, 0x29, 0x49, 0xb7,
0x99, 0x66, 0xea, 0xf7,
0x6c, 0x6b, 0xf2, 0xda,
0x1c, 0x36, 0xa8, 0x42,
0xe0, 0x1b, 0x80, 0x3d,
0x05, 0xfd, 0x19, 0x09,
0x88, 0xa2, 0x54, 0x36,
0x9f, 0x31, 0x7f, 0xb4,
};
unsigned int a, b;
di_32 = 0x38333439;
zhong_32 = 0x16513030;
gao_32 = 0x22004d00;
wei8_0 = (di_32 & 0xff00) >> 8;
wei8_1 = (di_32 & 0xff) << 8;
wei8_2 = (di_32 & 0xff000000) >> 8;
wei8_3 = (di_32 & 0xff0000) << 8;
wei8_4 = (zhong_32 & 0xff00) >> 8;
wei8_5 = (zhong_32 & 0xff) << 8;
wei8_6 = (zhong_32 & 0xff000000) >> 8;
wei8_7 = (zhong_32 & 0xff0000) << 8;
wei8_8 = (gao_32 & 0xff00) >> 8;
wei8_9 = (gao_32 & 0xff) << 8;
wei8_a = (gao_32 & 0xff000000) >> 8;
wei8_b = (gao_32 & 0xff0000) << 8;
ID[0] = wei8_0 | wei8_1 | wei8_2 | wei8_3;
ID[1] = wei8_4 | wei8_5 | wei8_6 | wei8_7;
ID[2] = wei8_8 | wei8_9 | wei8_a | wei8_b;
wei8_1 = wei8_1 >> 8;
wei8_2 = wei8_2 >> 16;
wei8_3 = wei8_3 >> 24;
wei8_5 = wei8_5 >> 8;
wei8_6 = wei8_6 >> 16;
wei8_7 = wei8_7 >> 24;
wei8_9 = wei8_9 >> 8;
wei8_a = wei8_a >> 16;
wei8_b = wei8_b >> 24;
di_32 = wei8_0 + wei8_1 + wei8_2 + wei8_3 + wei8_4 + wei8_5 + wei8_6 + wei8_7 + wei8_8 + wei8_9 + wei8_a + wei8_b;//每次读一个8位ID号累加
zhong_32 = di_32 & 0x3ff; //提取低10位
gao_32 = wei8_0 + wei8_b; //ID最低低8位+ID最高高8位
di_32 = gao_32 + zhong_32; //ID最高位8位+ID最低8位+累加结果提取的10位
a = zhong_32;
b = di_32;
for (int i = 0; i < 8; i = i + 1){
mima[i] = ID[di_32];
di_32 = (zhong_32 + di_32) & 0x3ff;
}
printf("0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X \n",mima[7],mima[6],mima[5],mima[4],mima[3],mima[3],mima[1],mima[0]);
}
最后于 2021-1-29 11:53
被yjmwxwx编辑
,原因:
|