sta-c0000 / tpconf_bin_xml

Command line utility to convert TP-Link router backup config files
160 stars 40 forks source link

VX230v or Deco Family #36

Open Slicer085 opened 1 year ago

Slicer085 commented 1 year ago

Any chance you could look into adding support for the Deco family of TPlink routers.

Hitting the error: ERROR: Unrecognized file type!

I tried playing with the python but keep hitting roadblocks.

WARNING: wrong endianness, automatically switching. (see -h) OK: appears your device uses little-endian. OK: BIN file decrypted, MD5 hash verified, uncompressing… Traceback (most recent call last): File "./tpconf_bin_xml.py.custom", line 304, in xml = uncompress(src) File "./tpconf_bin_xml.py.custom", line 159, in uncompress if get_bit(): File "./tpconf_bin_xml.py.custom", line 136, in get_bit block16_dict_bits = unpack_from('H', src, s_p)[2] IndexError: tuple index out of range

key = b'\x7A\x2B\x15\xED\x9B\x98\x59\x6D\xE5\x04\xAB\x44\xAC\x2A\x9F\x4E'

key = b'\x7A\x2B\x15\xED\x9B\x98\x59\x6D'

I can't even remember where I found that key but it may help.