Skip to content

Instantly share code, notes, and snippets.

@recoilme
Created September 22, 2015 13:22
Show Gist options
  • Save recoilme/3e82c7389ca89e4b3d94 to your computer and use it in GitHub Desktop.
Save recoilme/3e82c7389ca89e4b3d94 to your computer and use it in GitHub Desktop.
wtf
1.http://platform.nemo.tv/?app_version=2&app_name=android_tablet_10_med_tv&p=nemo.auth.common
{"method":"register_prepare_password","params":{"device_model":"unknown::Android SDK built for x86","device_type":"android_phone","password":"469202","device_id":"deviceID","type":"uid","login":"2611889"}}
Ответ
{"jsonrpc":"2.0","id":null,"result":{"token":"eec657e0cc85438a257dc971b50958e02b5a2ddc"}}
2. http://platform.nemo.tv/?app_version=2&app_name=android_tablet_10_med_tv&p=nemo.auth.common
{
"method":"auth",
"params":{"token":"eec657e0cc85438a257dc971b50958e02b5a2ddc"}}
Ответ
{"jsonrpc":"2.0","id":null,"result":{"balance":0,"authkey":"1903399607560154fb853c61.13450252","analytics_id":"st.1903399607560154fb866b60.31647666","blocked":false,"timestamp":1442927867}}
3. http://platform.nemo.tv/?app_version=2&app_name=android_tablet_10_med_tv&p=nemo.tv.epg&auth_key=1903399607560154fb853c61.13450252
{"method":"get_channels_tree"}
Ответ
{"jsonrpc":"2.0","id":null,"error":{"code":-32125,"message":"authkey is expired","data":{"subcode":26,"context":"platform"}}}
@mailz
Copy link

mailz commented Sep 24, 2015

сейчас у нас:
register_prepare_password с захардкоженным пользователем -> получаем токен
auth с полученным токеном -> authkey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment