
13.12.2020, 22:49
|
|
Постоянный
Регистрация: 21.07.2015
Сообщений: 594
С нами:
5691926
Репутация:
171
|
|
Сообщение от mooooooon
any idea how can i decrypt ZXHN H168N V3.5 config ?
Seem to be that encryption algorithm was changed to AES-256-CBC and key and iv are derived from MAC, SerialNumber and EncryKey.
Код:
snprintf(&g_keySeed, 65, "%s%sMcd5c46e", EncryKey, SN);
snprintf(&g_ivSeed, 65, "G21b667b%s%s", MAC, EncryKey);
sha256(key_seed, key_seed_len, &aes_key);
sha256(iv_seed, iv_seed_len, &aes_iv);
|
|
|