{
  "added_at": "2026-11-08",
  "additional_evidence_urls": [
    "https://github.com/exbyte-dev/glorouter/blob/26cb9d409cb5dff103ef4ccb94bde7b317090100/README.md"
  ],
  "category": "reconstruction-cases",
  "class": "hardware",
  "description_en": "glorouter reconstructs the Huawei B311-221 router's HiLink web API in a Python CLI and local dashboard. Its protocol notes trace endpoints from served JavaScript and browser captures, including SCRAM-SHA256 login and CSRF token handling; the client exposes signal, traffic, network, SMS and USSD controls.",
  "description_zh": "glorouter 将 Huawei B311-221 路由器的 HiLink 网页接口重建为 Python 命令行和本地仪表板。协议笔记根据设备提供的 JavaScript 与浏览器抓包整理端点、SCRAM-SHA256 登录及 CSRF 令牌处理；客户端提供信号、流量、网络、短信和 USSD 操作。",
  "entry_url": "https://awesomerea.org/resources/glorouter-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/glorouter-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/exbyte-dev/glorouter/blob/26cb9d409cb5dff103ef4ccb94bde7b317090100/docs/protocol.md",
  "group": "cases",
  "id": "glorouter-case",
  "json_url": "https://awesomerea.org/resources/glorouter-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/glorouter-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/glorouter-case/index.md",
  "name": "glorouter: reconstructing the Huawei B311-221 HiLink API",
  "name_zh": "glorouter：还原 Huawei B311-221 HiLink 接口",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "testing",
    "limits",
    "license"
  ],
  "requirements": [
    "Python 3.10 or later, pipx and access to a compatible Huawei HiLink router.",
    "The author reports live testing on a Huawei B311-221 with Glo Nigeria firmware.",
    "Huawei HiLink allows only one active admin session, and repeated failed logins can trigger a lockout.",
    "MIT License."
  ],
  "requirements_zh": [
    "需要 Python 3.10 或更高版本、pipx，以及可访问的兼容 Huawei HiLink 路由器。",
    "作者报告已在使用 Glo Nigeria 固件的 Huawei B311-221 上进行实机测试。",
    "Huawei HiLink 只允许一个活跃管理员会话；连续登录失败可能触发锁定。",
    "采用 MIT 许可证。"
  ],
  "scope": "unknown",
  "targets": [
    "protocol"
  ],
  "url": "https://github.com/exbyte-dev/glorouter",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
