萝卜朋友圈
Open in Telegram
资源收集
Show moreThe country is not specifiedThe category is not specified
516
Subscribers
No data24 hours
-47 days
-3930 days
Posts Archive
516
快手极速版 · 账号找回接口分析
功能:输入快手号,返回绑定的脱敏手机号(前3位+后4位)
接口地址:POST https://api.kuaishouzt.com/rest/n/user/reset/select
Content-Type:application/x-www-form-urlencoded
APK反编译定位:
接口类:smali_classes8/zvl/a.smali(方法G)
响应模型:ResetSelectResponse
调用逻辑:smali_classes8/com/yxcorp/login/userlogin/presenter/resetpassword/k.smali
响应字段:
· result(int):结果码
· phone(String):脱敏手机号,如 138****8888
· countryCode(String):国家码
· accountToken(String):账号令牌
· userIndex(int):用户索引
· userInfos(List):关联账号列表,包含 token、user_id、user_name、headurl、kwaiId
KXGS签名算法:
· 算法:KXGS(KuaiShou Security)
· Native库:libksxgs.so
· Java入口:com.kuaishou.security.xgs.export.b.a()
· appKey:d7b7d042-d4f2-4012-be60-d97ff2429c17
· vmBizId:2f3e68b0-9a52-4f53-9109-7ea8e9dbe89a
· algorithm:2096(0x830)
· kpn:""(空字符串)
签名拼接规则:
1. 从Request中提取所有参数
2. 按参数名排序
3. 每个参数格式化为 key=value
4. 用空字符串直接拼接
5. 传入KXGS算法签名
6. 签名结果作为sig参数加入请求
结论:输入快手号 → 输出脱敏手机号
---
