ishumei数美device_id生成算法分析

据分析研究得知,该参数是通过数美的风控接口得到,接口提交参数较为复杂,主要是设备和风控的应用相关的参数。

近期研究时,为了方便,将参数生成算法封装成了一个简易接口如下:

需要说明的是:当前接口仅能使用在本人研究的app中,换了个app就不能验证通过了,因为每个app对应的参数算法生成是属于独家定制的,很多参数是特定的及关联app固定的,算法并不通用。


1
http://www.itfvck.com:8080/spider-gm-web/shumei/v4?organization=dfgdfg&appId=dfgdfgdfg&packageName=dfgdfgdfgdfgdfg&android_id=dfgdfgdfg&wlanmac=1d:b2:20:1e:76:99

传入对应的app和设备参数即可:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
String organization:数美给app分配的代码
String appId:com.shumei.sdk这样的值
String appVersion:应用的版本号,例如:5.6.4
String packageName:应用包名com.tencent.qq这样的值
String android_id:设备id,16位长度字符串
String deviceId:数美旧的id,可空
String ip:设备ip,
String wlanmac:设备mac地址,
String bluetoothmac:设备蓝牙mac地址,
String ipmac:8位的ip地址,
String cpuapi:cpu架构,
String model:品牌,
String brand:型号,
String board:主板号,
String manufacturer:厂商,
String buildVersion:系统编译版本号,
String osVersion:系统版本号,
总的来说,每个app对应的参数算法生成是属于独家定制的,很多参数是特定的及关联app固定的,算法并不通用。也就是一个应用对应的算法算出来的数据,并不能用在另外一个app里面。
调用接口后,生成的参数如下:

1
2
3
4
5
6
7
8
9
10
{
  "organization": "dfgdfg",
  "os": "android",
  "appId": "dfgdfgdfg",
  "encode": 2,
  "compress": 3,
  "data": "OcB5BoDXkaQtalxga0hDclc3IhEL5DHIwShp1In7yQif9A47Q8JMmN8qKf7i2E3usrKGXYsGYHSAarO22yZR1owVy0XhyfjMh3y1SeQhxPhSBO30IohSHbcxufzegFAWs\/LW1l8XZLLt94RNzqhsWo7tyLvyIaIeT58fFrlKat4PyWJCGhMiHvzuX9uZebBQNgEGLFUjgU50Ev3PtxbCidWf1cZhQKRVOTOa7Uxd4xNEN7sE7PwALuqsapNl9gPkOqDKfTIzX9P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jSeSw==",
  "ep": "W2RLFY\/wThX4kvcNc80HYqs8LlGZwV1E8YHa4EiZQ\/VlDR6\/0t07tvRi21YXU2K5g+qsOCQ+rPvB7EGMPk2mUM\/2d0N8q7b5cid7T6vSpNDg0+a+BxQ0qkRiQdgwOFnafuJwjqO9F4i2bMQxuNpYLH25rBi0eh0MfU4oE4spPm1kbdEXs4kW\/\/tSho1MSpajI83TMGKSNpCmVDwzHl+J1qoth5hQPJBWxbw9jFvyGZDayHLoO+5oPcmvs7oY0swurHA8uaLgHJURyVFd2wnOw21J5hzignraY5BDsSWTj6xXLqqIINa9F+NWczTNhmoxFMuiCkid4Vll4YVNrAiK6Q=="
}

经过请求验证,使用生成的参数去提交,可以正确的得到返回deviceId参数。


1
{"code":1100,"detail":{"deviceId":"E8BXXXXXXXtbA=="},"requestId":"4d6aXXX368"}

特别说明的是:每个app对应的参数算法生成是属于独家定制的,很多参数是特定的及关联app固定的,算法并不通用。也就是一个应用对应的算法算出来的数据,并不能用在另外一个app里面。

----------------------------------------------------------------------------------------------------
文章内容仅用作技术探讨研究,禁止他用!
若相关单位认为文章内容不适合公开发表,请联系站长删除!
----------------------------------------------------------------------------------------------------

评论

  1. 匿名
    1周前
    2022-11-30 15:50:09

    23423423434

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇