我用含以下代码的C++写狗之后,EOCKEY6的狗密码改掉了,可我试FFFFFFFFFFFFFFFF或1111111111111111都没用了,我的狗密码会改成多少了呢?
int num,hic,errcode, i=0, j=0;
unsigned char Password1[8]={0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11};
unsigned char Password2[8]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
for (i=0;i<8;i++) cmddata[i] = (char)Password1[i];
errcode = DIC_Command(hic, CHECK_SUPER_PASS, cmddata);
errcode = DIC_Command(hic, GET_CARD_PRIVILEGE, cmddata);
if (DIC_Get(cmddata, SUPERPASS_STATUS, BY_VALUE, NULL))
{
DIC_Set(cmddata, SUPERPASS_DATA, BY_ARRAY, 10,(char *)Password2);
errcode= DIC_Command(hic, SET_SUPER_PASS, cmddata);
}
else
{for (i=0;i<8;i++) cmddata[i] = (char)Password2[i];
errcode = DIC_Command(hic, CHECK_SUPER_PASS, cmddata);
errcode = DIC_Command(hic, GET_CARD_PRIVILEGE, cmddata);
if (DIC_Get(cmddata, SUPERPASS_STATUS, BY_VALUE, NULL))
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!