我用含以下代码的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))
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课