闭合QIMEI h38兼容键

This commit is contained in:
yml2213
2026-09-02 17:51:12 +08:00
parent 1f3773de28
commit 92ba6cbc62
5 changed files with 31 additions and 4 deletions
+3 -1
View File
@@ -357,7 +357,9 @@ def fill_web_cookie_fields(
# qimei 皮肤字段
# _qimei_fingerprint: QIMEI SDK x64hash128(浏览器能力特征,31) 32hex。
add("_qimei_fingerprint", qimei_fingerprint_generate(qimei_feature))
add("_qimei_h38", secrets.token_hex(19))
# SDK 内部 h38 就是 42 位 UUID42,并不存在独立的 38 位生成器。当前活动
# getUserScore 只检查同名 Cookie 键是否存在,不检查值;复用 SDK h38 的真实值。
add("_qimei_h38", pairs["_qimei_uuid42"])
# 会话/统计字段
yasmid = _rand_float()