feat(huya): 纯Python密码->cred->铸证->bind全链路贯通! 零设备闭环达成

This commit is contained in:
yml2213
2026-08-25 19:12:35 +08:00
parent b7719bc093
commit d29290ae0e
9 changed files with 123 additions and 9 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ def main() -> int:
# => 不校验时效。故铸造策略 = 保留原 nonce/指纹, 替换 cred 字段。
# 实验 C: 换上 frida_cred_dump 里更早签发的 hyCred(同账号不同轮换值)。
# 若 bind 成功 => 铸造机制完全打通(任意有效cred即可铸其证书)。
old_cred = json.load(open("evidence/hycred_live.json"))
cred_old = bytes.fromhex(old_cred["bin_hex"])
old_cred = json.load(open("evidence/hycred_pp_cert.json"))
cred_old = bytes.fromhex(old_cred["cred_hex"])
P1_new = build_p1(b"5008", fields["fingerprint"], cred_old,
rnd=fields["rnd"]) # 原始 nonce
assert P1_new != P1_old, "应与原P1不同"