-
Notifications
You must be signed in to change notification settings - Fork 78
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
ZXHN H298A V 1.0 Python script error #96
Comments
bump |
|
Same issue for me. Is there any suggestion? |
not supported yet we are waiting ... |
Can someone upload their |
sure, H298A V9 Device Type H298A V9 |
Do you want to drop me the serial number via email ([email protected])... because I don't get the same error as you.
|
I wonder if anyone has managed to grab the |
how to get cspd binary? |
I sent an email |
I sent an email as well any help is appreciated. |
For some reason, the So you would first need to do something like import base64
with open("config.bin", "rb") as f:
data = f.read()
with open("config.bin", "wb") as f:
f.write(base64.b64decode(data)) However. that only gets you as far as being able to try to decode it. I wonder if these routers require the MAC as well as the Serial Number (and/or whether there are additional iv/key prefix or suffixes). In terms of getting the |
As far as I understand, it comes encrypted with base64 with the new version. zte-config-utility does not work. The config file I take before works without any problems. When I decoded the current config file from base64 and tried again, I couldn't get the result. C:\zte-config-utility-master>py examples/decode.py --mac 8C:DE:xxxxxxxxx --serial ZTC0B1xxxxxxxxx config.bin config.xml |
Can you try with |
I tried it in many ways, with Mac, with serial with password C:\zte-config-utility-master>py examples/auto.py --mac 8C:DE:xxxxxxxx --serial ZTC0xxxxxxxxx --password aaxxxxxxx config.bin config.xml |
same |
When writing this code to decode config.bin to config.xml: py examples/decode.py --serial ZTEXXX config.bin config.xml it gives me blank config.xml file and it says this in cmd message: Traceback (most recent call last):
File "C:\Users\merta\Desktop\zte-config-utility-master\examples\decode.py", line 194, in
main()
File "C:\Users\merta\Desktop\zte-config-utility-master\examples\decode.py", line 49, in main
payload_type = zcu.zte.read_payload_type(infile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\merta\AppData\Roaming\Python\Python312\site-packages\zcu-0.4.0-py3.12.egg\zcu\zte.py", line 56, in read_payload_type
File "C:\Users\merta\AppData\Roaming\Python\Python312\site-packages\zcu-0.4.0-py3.12.egg\zcu\zte.py", line 48, in read_payload
ValueError: Payload header does not start with the payload magic.
Any help will be appreciated
The text was updated successfully, but these errors were encountered: