Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Integrity check failed. #86

Open
daVinci13 opened this issue Dec 20, 2023 · 0 comments
Open

[BUG] Integrity check failed. #86

daVinci13 opened this issue Dec 20, 2023 · 0 comments

Comments

@daVinci13
Copy link

Using:
python examples/decode.py --serial ZTEEG9GM2U00328 config.bin config.xml --try-all-known-keys
Detected signature: ZXHN H267N V1.1
Detected payload type 4
Trying key: '8cc72b05705d5c46ZTEEG9GM2U00328' iv: '667b02a85c61c786ZTEEG9GM2U00328' generated from serial: 'ZTEEG9GM2U00328'
Trying key: 'ZXHNH267NV1.1Key02721401' iv: 'ZXHNH267NV1.1Iv02721401' generated from signature: 'ZXHN H267N V1.1'
Successfully decoded using signature: 'ZXHN H267N V1.1'!

I decoded config.bin, then i enabled SSH and encoded it with:
python examples/encode.py --serial ZTEEG9GM2U00328 --signature 'ZXHN H267N V1.1' config.xml config2.bin
Using serial: ZTEEG9GM2U00328
Done!

And when i try to upload the new bin file i get: "Integrity check failed."
Then i tried to encode unmodified config.xml (freshly decoded) I get same error.

When i run: fc.exe /b config.bin config2.bin I get:
FC: config.bin longer than CONFIG2.BIN

Then I tried: python .\examples\just_compress.py config2.bin config3.bin and I get:
FC: CONFIG3.BIN longer than config.bin

And upon every upload try i get Integrity check failed.

Any ides on how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant