Skip to content

Instantly share code, notes, and snippets.

@recoilme
Created September 22, 2015 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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"}}}
@recoilme
Copy link
Author

{"jsonrpc":"2.0","id":3,"method":"register_new_password","params":{"type":"uid","login":"6dbc9cfaf68b70bc"}}
{v=1, app_version=2, authkey=demo, p=nemo.common.auth, app_name=android_phone_xhi_360_tv}

RegisterNewPasswordApiRequest{mType=UID, mLogin='6dbc9cfaf68b70bc', mPhoneCountryCode=0, mPassword='null'}

{"device_type":"android_phone","device_id":"6dbc9cfaf68b70bc","device_model":"LGE::Nexus 5","password":"242376","type":"uid","login":"2617793"}

{"token":"c5e04978c899eed838e3c57511d7e7cafdd5ebdc"}
371129692560159a399e4c5.67464553

@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