-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TP-Link Deco M9 Plus Mesh Wi-Fi Support Data #2
Comments
Okay this seems relatively straightforward. The only two keys to the puzzle are the cookie string and the signed HTTPS request. There are two things you can try out right now.
import requests
url = 'http://10.0.0.100/cgi-bin/luci/;stok=/#?form=auth'
data = {'operation': 'read'}
cookies = {
'sysauth': 'ab80bb5727e1aa2850b259863c6218bb'
}
headers = {
'Referer': 'http://10.0.0.100/webpages/index.html',
'Origin': 'http://10.0.0.100',
'Content-Type': 'application/json'
}
r = requests.post(url, data=data, cookies=cookies, headers=headers)
print(r.text)
print(r.status_code)
print(r.cookies)
print(r.headers)
|
Just got a chance to try this out now. FYI I re-ran the network inspector to get new cookies before trying this and used those instead. Using the first one, I get the following:
If I change the
The second script, when ran as-is, got stuck on
|
1 similar comment
Just got a chance to try this out now. FYI I re-ran the network inspector to get new cookies before trying this and used those instead. Using the first one, I get the following:
If I change the
The second script, when ran as-is, got stuck on
|
Hello, It looks like that the serialization is not working properly in python (or the router implemented it's own Json serialiser). The second part also fails for me on the retrieving the PublicKey. The HttpPost in method _get_pub_key in VR600TplinkDeviceScanner returns a 404 error. ======================== The management web-page for the Deco M9 only asks for a password, no username is required. |
A little late to reply, but if you're still interested, try the script mentioned in Issue 5 and let me know if the script worked |
Sorry for the very late reply, I had forgotten about this project. I have picked this up and run the c6_test.py script from Issue 5). The requests in that script look to be matching with the requests for the M9, but it still fails on retrieving auth tokens. I think the issue is that the body the "/cgi-bin/luci/;stok=/#?form=login" request is not encrypted. The keys to encrypt the body can be retrieved by a request to "/cgi-bin/luci/;stok=/#?form=keys". |
@OJ7 @bvermolen If you are still looking for a client for Deco M9 - I have the client which supports it https://github.com/AlexandrErohin/TP-Link-Archer-C6U |
Items clicked:
Network Map button
-- each of the three mesh units
Advanced button
-- Firmware Upgrade tab
-- System Log tab
-- Time Settings tab
-- Reboot tab
-- System Parameters tab
10.0.0.100.har.zip
The text was updated successfully, but these errors were encountered: