mkst / zte-config-utility

Scripts for decoding/encoding config.bin for ZTE routers
MIT License
235 stars 77 forks source link

Add support for ZXHN H268Q V7.0 which requires fixed suffix instead of prefix #48

Closed rajkosto closed 1 year ago

rajkosto commented 1 year ago

Add support for type4 signature crypt/decrypt that has the fixed part of the key/iv as a SUFFIX instead of PREFIX

Both versions of the ZXHN H268Q V7.0 firmware available to me do this to generate the config key: AESKey = modelNameWithoutSpaces + "Key" + "02710010" AESIV = modelNameWithoutSpaces + "Iv" + "02710010" So the prefix options in existing zte-config-utility are not enough, as the fixed part needs to be after the "Signature"