sta-c0000 / tpconf_bin_xml

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

TPLink EX 220 (AX1800) #26

Open metrotyranno opened 2 years ago

metrotyranno commented 2 years ago

Hi,

This is unable to decrypt the config of the EX 220. Can someone help me get this config decrypted?

The script returns ERROR: Unrecognized file type!

I changed the script a bit so it returns the first 36 bytes:

b'\x83\xa1\x8d\x9ew\x84\xdb\x90M~\xc8\xecc\xa2\xa1\x16\xb9[\x9c\xd0o\x05\x90U@\xfc{\n\xa8)\x8f\xbf\x06\n\x17'

Can anyone help me get this decrypted?

sta-c0000 commented 2 years ago

Hi, that looks like a fairly recent TP-Link model. It's likely not using the same keys/methods of encryption/compression for its config files, so this project may not be appropriate. I quickly looked online and did not find a downloadable firmware for this product. TP-Link appears to also have "forgotten" to post the open source GPL licensed parts of their code for this router, you could make a request to them for it if you wish... I personally do not expect to attempt to "solve" this model. Good luck!

metrotyranno commented 2 years ago

The device is basically an AX1800 with some ISP specific features. Would the GPL parts for the AX1800 offer any help?

sta-c0000 commented 2 years ago

Ah, :) I thought that was a Wi-Fi 6 chipset qualifier (802.11ax / AX, 1800 Mbps). I see now that TP-Link actually have an AX1800 model. Thanks. I could be wrong, but because it is fairly recent, I still suspect it might be using a different method for config files. Sorry, I can't see myself reverse engineering that firmware anytime soon.

metrotyranno commented 1 year ago

I managed to get my hands on the firmware bin. Would this be helpful in solving the issue?

sta-c0000 commented 1 year ago

No, sorry, as I mentioned, I won't be personally reverse engineering those firmwares. This project targets a class of TP-Link routers using similarly encoded configuration files; it wouldn't be useful with config files using a completely different storage format. Cheers.