sta-c0000 / tpconf_bin_xml

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

TL-R860 is also not supported. #42

Open daiaji opened 8 months ago

daiaji commented 8 months ago

Configuration file wrt2.bin.zip

sta-c0000 commented 8 months ago

Right, not supported. But thanks for the .bin file; it's a simple encrypted (zero padded) CRLF text file, not XML, with a 32 byte binary header (probably size and checksum). I'm not going to work on this one, but decrypting the file does the job :) openssl enc -d -des-ecb -nopad -K 478DA50BF9E3D2CF -in wrt2.bin -out wrt2.txt -provider legacy # decrypt tail -c +32 wrt2.txt # show config text file after skipping 32 bytes binary header