You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an itch to scratch and ended up starting to reverse-engineer the way the Kuna app gets a video stream. My initial results - where I'm stopping for now - are here: kevin-david/pykuna#1
Decompiling the Kuna apk [still toying with this one]
What I've found so far is that the app goes through some kind of negotation through the websocket, then has a (custom-looking?) protocol to pass messages across the socket. I have a feeling it's might not be custom and can be easily handled by something else - but haven't found anything yet. There are a few RTSP websocket proxies out there: https://www.bing.com/search?q=+websocket+rtsp+proxy
Here's what the websocket dump looks like, address https://video.kunasystems.com/ws/rtsp/proxy?authtoken=<your_auth_token>
It also looks like there might be some kind of VPN involved (that 25.178.59.170, which is the "UK Ministry of Defence"... unless they are sending all my traffic there), and possibly an optimization to use local network somehow (maybe opening ports on the device temporarily?)
Anyway, sharing this in case anyone else is interested in digging in more with me. Not sure if/when I'll get back to this.
The text was updated successfully, but these errors were encountered:
I had an itch to scratch and ended up starting to reverse-engineer the way the Kuna app gets a video stream. My initial results - where I'm stopping for now - are here: kevin-david/pykuna#1
I've gotten this far with a few approaches:
mitmproxy
in socks5 mode combined withWhat I've found so far is that the app goes through some kind of negotation through the websocket, then has a (custom-looking?) protocol to pass messages across the socket. I have a feeling it's might not be custom and can be easily handled by something else - but haven't found anything yet. There are a few RTSP websocket proxies out there: https://www.bing.com/search?q=+websocket+rtsp+proxy
Here's what the websocket dump looks like, address
https://video.kunasystems.com/ws/rtsp/proxy?authtoken=<your_auth_token>
big file
It also looks like there might be some kind of VPN involved (that
25.178.59.170
, which is the "UK Ministry of Defence"... unless they are sending all my traffic there), and possibly an optimization to use local network somehow (maybe opening ports on the device temporarily?)Anyway, sharing this in case anyone else is interested in digging in more with me. Not sure if/when I'll get back to this.
The text was updated successfully, but these errors were encountered: