type
status
date
slug
summary
tags
category
icon
password
先去官网下载最新版:https://www.tubevpn.cc/
开发工具
- 黄鸟
- MT管理器/NP管理器
- 算法助手
教程开始
打开黄鸟抓包
会看到如下的网络请求

OK,看不懂,没关系
打开算法助手
PS:这里换手机截的图

OK,这次看懂了imei是什么意思?
国际移动电话设备识别码(International Mobile Equipment Identity)
那就是设备码呗!简单!
打开MT管理器
提取安装包->去签名校验->安装新的安装包->打开Activity记录器
进入首页之后,回来就会看到这样的一个Activity

点击复制下来
随便点击一个dex文件->全选->进入(这里不会也去参考上帖)
搜索次类

进入test,转化Java分析一下(截取部分)
嘿嘿,发现了,在我们的 onCreate() 方法中存在网络请求"/node/getInformation_ex"并且参数包含
这不就是我们上面通过抓包得到的参数吗?!
接上述,imei键是设备码,那么deviceId就是我们需要的了,从代码往上看deviceId是通过api.getDeviceId(this)获取的,那么我们去getDeviceId方法里面看看(先搜索定位->长按->点击》》)
跳转到代码转Java
简单来说就是通过GetDeviceId.getDeviceId(context)方法获取设备ID,getMD5加密得到的设备ID保存到SharedPreferences中,最终在返回。我们直接重写这段代码。
删除原getDeviceId的代码把这段复制进去
最终
这里return不要删掉!
这里最后一行return不要删掉!
不要删掉!
这是一个简单生成一个随机的UUID字符串的方法
保存,重新编译
最终每次打开都是一个随机新ID,每个ID可以试用1天,无限白嫖。
总结
原包就去官网下载吧
- Author:PastKing
- URL:https://www.oaichat.ru/posts/9d1d80cb
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!