Speedport Entry 2i decode AssertionError
See original GitHub issueI’ve got an Speeport Entry 2i from the ISP (also a ZTE modem/router). On another fourm, and the info script says too, that the payload type is 2.
Signature: Speedport Entry 2i Payload Type: 2 (ZLIB+AES) Payload Start: 218 Decompressed size: 0 bytes 2nd last chunk: 24424 Chunk size: 65536 bytes Payload CRC: 0 Header CRC: 0
But the decode.py gives same error as for another payload type: C:\speedport>decode.py conf2.bin conf2.xml --key 0cc85c2173a77251 Traceback (most recent call last): File “C:\speedport\decode.py”, line 41, in <module> main() File “C:\speedport\decode.py”, line 36, in main payload_type = zcu.zte.read_payload_type(infile) File “C:\Program Files\Python39\lib\site-packages\zcu-0.1.0-py3.9.egg\zcu\zte.py”, line 51, in read_payload_type File “C:\Program Files\Python39\lib\site-packages\zcu-0.1.0-py3.9.egg\zcu\zte.py”, line 45, in read_payload AssertionError
But I think, the problem is not with the bin file, because i get the same error for the smaple bin files in the resources directory. Only for the type 0 runs without erros and creates the xml file. I think, there is an issue with the AES decoding? (I got the key for the decoding from another script form here )
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (1 by maintainers)
Leaving this link here: script to generate the decryption key for Speedport Entry 2i (not part of this project):
https://gist.github.com/viliampucik/54956df2302362dab281f86178a4b848
@kies83 can you send them to me ? Did you checked do you have
CspDBInitPdtInterface