Repository navigation
新增栗子漫画接口域名查证工具,记录 11-04 官方接口下线 - #4
Conversation
栗子漫画(lizimh)的源把接口地址写死在 `static api` / `static apiFallback`, 2026-11-04 巡检里 7 个网络阶段全部 dns_error。查证:两个域名在 Google DoH 与 阿里 DoH 都是 NXDOMAIN,上游三个仓库(Walter 2.33.34、handahao 1.2.3、 LX7kM9 1.2.4)仍指向同一对死域名。 关键发现:官方 App 的自举配置(COS 上的匿名 JSON,AES-256-ECB 密文)解出来就是 `http://ai.qsmm.fun`,即官方接口同样下线,源没有可替换地址可换。 改动: - scripts/lizimh_api.py:`discover` 复现官方 App 的解密步骤(纯标准库 AES-256-ECB, 密钥取自 libapp.so)拿到官方当前接口域名;`probe` 按源的 lzsign 规则对候选地址 发真实请求并给出可用/不可用结论;`--json` 便于自动化 - scripts/lizimh_api_test.py:FIPS-197 解密向量、11-04 真实样本解密、签名默认参数 与去重、探测判定与 CLI 退出码,全程不联网(69 项 scripts 测试全过) - reports/WALTER_REVIEW.md:记录本次下线事实、不作为"修复"发布的理由,以及恢复后 的复检命令 实测:`discover` 得到 `http://ai.qsmm.fun`(与源内的备援地址一致),`probe` 两个地址 均不可用,退出码 1。
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8b7c07a08
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| status, body = request(url, timeout) | ||
| payload = body[:200].decode("utf-8", "replace") | ||
| results.append({"path": path, "status": status, | ||
| "ok": status == 200 and body.lstrip()[:1] in (b"{", b"["), |
There was a problem hiding this comment.
Validate API responses before reporting a candidate as usable
When an endpoint returns HTTP 200 with a JSON error response or even malformed content such as {, this check reports it as usable solely because its first non-whitespace byte is { or [. Reproducing both cases with a mocked request() makes probe() return ok: true. Because one successful endpoint also makes the CLI exit with zero, this can falsely signal that the service has recovered despite rejected signed requests. Parse the response and validate the endpoint's successful response contract before marking it usable.
Useful? React with 👍 / 👎.
| from lizimh_api_test import main as run_tests | ||
| return run_tests() |
There was a problem hiding this comment.
Invoke an existing test runner for the self-test command
Running python3 scripts/lizimh_api.py self-test, which is advertised in the CLI's --help, immediately raises ImportError: lizimh_api_test.py defines no main function and only invokes unittest.main() under its __main__ guard. Expose a callable runner or load the test suite through unittest so this command actually executes the offline checks and returns their result.
Useful? React with 👍 / 👎.
结论先说
栗子漫画(
lizimh)今天(2026-11-04)全站接口下线,不是源写错了、也不是 VeneraX 的问题:源里写死的两个接口域名都失效了,而官方 App 的自举配置里写的正是同一个域名,所以没有任何可替换的地址——今天谁都修不好,只能等官方恢复或换域名。证据
dns_errorai.xajtl.com(CNAME →ai.xajtl.com.cname.clondfroont.com)和ai.qsmm.fun在 Google DoH、阿里 DoH 均
NXDOMAIN;图片域名cdn.lzimg.xyz、i.lzimg.xyz、cf-1.imgio.club同样无记录Walter498/Walter2.33.34、handahao666-boop/venera_comic_source1.2.3、LX7kM9/venera-configs1.2.4)仍然是这一对地址;当天三个仓库各有一条"栗子源失效"的新 issuecom.jy.zyds)的自举配置https://lz-1382057604.cos.ap-hongkong.myqcloud.com/5A6F…C2E4B.json是 AES-256-ECB 密文,用
libapp.so里的密钥解出来是:{ "domain":"http://ai.qsmm.fun/" }本 PR 做了什么
不发布任何"改了但验证不过"的源(真网没通过就不能进订阅),而是把这套查证固化成一条命令:
scripts/lizimh_api.py:纯标准库实现 AES-256-ECB 解密(复现官方 App 的取配置步骤)、源的
lzsign签名、probe判定;--json可直接接自动化scripts/lizimh_api_test.py:FIPS-197 解密向量、11-04 真实样本、签名默认参数与去重、探测判定与 CLI 退出码,全程不联网
reports/WALTER_REVIEW.md:记录本次下线事实、不发布修复的理由、恢复后的复检命令实测(本机):
验证
python3 -m unittest discover -s scripts -p '*_test.py'→ 69 tests OKpython3 scripts/cloud_audit.py self-test→ 通过恢复后怎么接
官方换域名后:
discover立刻读到新域名 →probe通过 → 按正常审阅流程把固定构建更新到新地址并重跑巡检,订阅随下一轮巡检自动恢复。要的话我可以把这个
probe挂成每日检查,恢复当天就提醒。