Sep 24, 2017 11:47 AM
(This post was last modified: Sep 24, 2017 06:56 PM by gelsas.)
Hey guys,
I am currently trying to recreate GET request which an android app sends to a server to get a specific response.
The app is showing for german tv channels if there are currently advertisements running or not. And this information it is getting from the server the app is using.
I want to make use of that information and use them to create an enigma2 python plugin which is zapping back to the channel I was watching as soon as the advertisment brake is over.
Now I am running into a problem, the app is sending 2 get requests:
https://pastebin.com/wYYRFz6P --> it is just a get request to this url: http://werbesignal.fernsehfee.de:8080/socket.io/1/
the second one has to do something with websockets and this is where I am stuck and do not know how to proceed:
https://pastebin.com/H5ud78Ah
This is the response the second request generates:
https://pastebin.com/5mrpneJk
(That is the data I want to make use of..)
There they make use of a " sec-websocket-key " which probably gets genrated by the app. But I could not figure out how exactly it is generated because I am not very familiar with java or android in general.
I uploaded the decompiled app: http://www.mediafire.com/file/7uqwqiz9ir...om.apk.zip
Could somebody help me to figure out how I need to generate the websocket key so I can make use of the response data?
regards,
gelsas
I am currently trying to recreate GET request which an android app sends to a server to get a specific response.
The app is showing for german tv channels if there are currently advertisements running or not. And this information it is getting from the server the app is using.
I want to make use of that information and use them to create an enigma2 python plugin which is zapping back to the channel I was watching as soon as the advertisment brake is over.
Now I am running into a problem, the app is sending 2 get requests:
https://pastebin.com/wYYRFz6P --> it is just a get request to this url: http://werbesignal.fernsehfee.de:8080/socket.io/1/
the second one has to do something with websockets and this is where I am stuck and do not know how to proceed:
https://pastebin.com/H5ud78Ah
This is the response the second request generates:
https://pastebin.com/5mrpneJk
(That is the data I want to make use of..)
There they make use of a " sec-websocket-key " which probably gets genrated by the app. But I could not figure out how exactly it is generated because I am not very familiar with java or android in general.
I uploaded the decompiled app: http://www.mediafire.com/file/7uqwqiz9ir...om.apk.zip
Could somebody help me to figure out how I need to generate the websocket key so I can make use of the response data?
regards,
gelsas

