mkst / zte-config-utility

Scripts for decoding/encoding config.bin for ZTE routers
MIT License
235 stars 77 forks source link

ERORR Add Support For ZTE ZXHN H168N V 2.2 #20

Closed kies83 closed 3 years ago

kies83 commented 3 years ago

I Just used your git for decrypting my config.bin but cannot find the key i also i have accesss to telnet and tapgram file and i also have mdsum of it THat is d0e615736322e6bc91fdb4e044bcdb20 .. i also used the the first 16 digits of hex but its incorrect ..( d0e615736322e6bc )..eg i want to decrypt my config for isp username and passworsd.. located inside the file..

kies83 commented 3 years ago

@mkst @811Alex Dear plz Help me out to figure out this issue...

811Alex commented 3 years ago

Let's start with the basics, did you try with the --try-all-known-keys parameter and if so, can you share the exact command you used and the output?

kies83 commented 3 years ago

Thanks for your Response.. i tried all known keys value .. but failed i didn't know how i can get key for decryption..

kies83 commented 3 years ago

My model is not in support list and also There is no relative info placed on internet..

811Alex commented 3 years ago

Alright, well honestly, this probably isn't really an issue with this tool itself. However, it would still be nice to add an extra key if we can. If you would like to try a few more things, personally I'd rather continue in PMs somewhere, either if you find my discord or if you tell me where I can reach you. Up to you and no guarantees whatsoever.

kies83 commented 3 years ago

Yes this is not software issue.. Wheather it's decryption will be beneficial for everyone who has same model number .. i don't have yours discord or any other account where i or u can text me.. !

811Alex commented 3 years ago

In that case, I think the only way forward would be for you to find a way to attach your tagparam_m file. It needs to be the exact same one, so either make sure that it gives the same md5sum as the original on the router or use ftp if possible. I can't ask you to post your config.bin publicly, since that contains some sensitive info, so you'd have to try any keys, we might come up with, yourself.

That is all ofc assuming this is not user error. You still haven't posted the exact command you used and output, as I asked earlier.

kies83 commented 3 years ago

I am attaching a tapgram file from router..

https://drive.google.com/file/d/1lZUGuLuvI7XQ3ubDnnahn03C4eSn2DZd/view?usp=drivesdk

Kindly take a view on it .. it's md5 sum is

d0e615736322e6bc91fdb4e044bcdb20

kies83 commented 3 years ago

My discord username is alvi.guy#6127

Feel free to pm me there.. i would like to talk you..

kies83 commented 3 years ago

@811Alex Dear i am searching for the keys to decrypt my config.bin file and i also have tapgram file and cspd file . I hope it will be helpful for others..

811Alex commented 3 years ago

@kies83 has confirmed that the key Q#Zxn*x3kVLc works and the re-encoded file (with no changes) is identical to the original. I'll make a PR in a bit.

kies83 commented 3 years ago

@811Alex WELL DEAR . THAT'S GREAT YOU NEED TO ADD SUPPORT OF THIS MODEL IN YOUR TOOL..

811Alex commented 3 years ago

that's what the PR part means ;)