新闻资讯

新闻资讯 行业动态

抖音设备激活实现device_register

编辑:009     时间:2020-02-15
在抓取抖音数据的时候,除了用x-gorgon外,发现每条请求都离不开几个数据,一个是uuid,installid,deviceid,openudid。

在随意伪造之后发现都不能正常采集到数据,然后通过抓取封包发现,现在抖音设备激活是通过向指定的激活url链接post数据

https://log.snssdk.com/service/2/device_register/*

数据的大致是如下数据,然后将数据进行压缩加密就可以了

{"header":{"magic_tag":"ss_app_log",""build_serial":"*","version_code":*,"timezone":8," +
                ""mc":"" + * + "","sim_serial_number":[{"sim_serial_number":"*"}]," +"sim_region":"CN","region":"CN","package":"com.ss.android.ugc.aweme","        ""appkey":"*","app_version":"*","resolution":"1280x720","aid":1128,"  ""display_density":"hdpi","sig_hash":"*"," +
                ""not_request_sender":0,"openudid":""+ sOpenId +"*",release_build":"*","tz_offset":*,"rom_version":"*"," +
                ""rom":"*","clientudid":"" +*+ "","os_api":*,"mcc_mnc":"*"," +
                ""sdk_version":"*","device_id":""+ sDeviceId+"","*":""+ * +"","device_brand":"*"," +
                "manifest_version_code":*,"serial_number":"*","os_version":"*"," +
                ""display_name":"抖音短视频","cpu_abi":"armeabi-v7a","update_version_code":*,"language":"zh"," +
                ""channel":"*","tz_name":"Asia\\/Shanghai","density_dpi":240},"_gen_time":"" "" +""}


包含了各种设备的一些消息,具体的内容,你们可以自己把数据截下来分析,每个版本有差异。

既然发送的数据都知道了,我们就可以利用这个,向设备激活链接发送数据进行激活,下面是我测试激活成功之后的返回的数据,和抓取的封包是一样的
在这里插入图片描述
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。

回复列表