i have decrypted the config file using a program i found online ( maybe made by python to exe )

so to decrypt using it you type is command into CMD

decode_zte_config.exe config.bin config.bin.xml --key "GrWM2Hz&LTvz&f^5"

how can i encrypt the config file after editing it to upload it to the router and disable some unwanted settings .

1 Answer 1


You can use the zcu module to do this.

python examples/encode.py config.bin.xml out.bin --key 'GrWM2Hz&LTvz&f^5' --signature 'ZXHN H108N V2.5'

Full disclosure: I wrote the zcu module. It's based off of this pastebin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.