1

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 .

2

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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