{"id":18457563,"url":"https://github.com/ac0d3r/hyuga","last_synced_at":"2025-04-05T07:06:35.481Z","repository":{"id":38989275,"uuid":"174453568","full_name":"ac0d3r/Hyuga","owner":"ac0d3r","description":"Hyuga 是一个用来监控带外(Out-of-Band)流量的工具。🪤","archived":false,"fork":false,"pushed_at":"2023-05-16T09:31:36.000Z","size":8585,"stargazers_count":498,"open_issues_count":3,"forks_count":60,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-12T19:44:45.354Z","etag":null,"topics":["dnslog","hyuga","out-of-band"],"latest_commit_sha":null,"homepage":"https://zznq.hyuga.icu/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ac0d3r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-08T02:17:28.000Z","updated_at":"2024-04-02T15:12:23.000Z","dependencies_parsed_at":"2024-04-30T20:48:49.084Z","dependency_job_id":null,"html_url":"https://github.com/ac0d3r/Hyuga","commit_stats":null,"previous_names":["buzz2d0/hyuga"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FHyuga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FHyuga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FHyuga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FHyuga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ac0d3r","download_url":"https://codeload.github.com/ac0d3r/Hyuga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dnslog","hyuga","out-of-band"],"created_at":"2024-11-06T08:14:53.002Z","updated_at":"2025-04-05T07:06:35.455Z","avatar_url":"https://github.com/ac0d3r.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" \u003e\n    \u003cimg src=\"./docs/hyuga.png\" width=\"200\" alt=\"Hyuga\" /\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/ac0d3r/Hyuga\"\u003e\n        \u003cimg alt=\"Hyuga\" src=\"https://img.shields.io/badge/Hyuga-dev-yellow\"/\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Language-Golang-blue\" alt=\"Language\" /\u003e\n    \u003ca href=\"https://github.com/ac0d3r/Hyuga/blob/master/LICENSE\"\u003e\n        \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/ac0d3r/Hyuga\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/ac0d3r/Hyuga/stargazers\"\u003e\n        \u003cimg alt=\"stars\" src=\"https://img.shields.io/github/stars/ac0d3r/Hyuga\"/\u003e\n    \u003c/a\u003e\n \u003c/p\u003e\n\nHyuga 是一个用来监控带外(Out-of-Band)流量的工具。🪤\n\n## 🎉 项目简介\n\n项目地址：https://github.com/ac0d3r/Hyuga\n\n## 📷 预览\n\u003cimg width=\"1511\" alt=\"image\" src=\"https://user-images.githubusercontent.com/26270009/236437388-a862b25f-e049-420d-aaf8-b06e4aa66ccc.png\"\u003e\n\n## 🎉 功能\n\n### 🌀 oob\n- dns\n    - dns查询记录(query name, remote address)\n    - 支持 dns-rebinding [#🔗](#-dns-rebinding)\n- http \n    - http 请求记录(url, method, remote address, raw request)\n- ldap \u0026 rmi\n    - ldap\u0026rmi 请求记录(protocol, remote address, path) \n\n### 🪃 实时推送 \n- 通过 websocket 将结果推送到前端。\n- 支持第三方推送到Bark、Lark、钉钉、飞书、Sever酱。\n    - thx: https://github.com/moonD4rk/notifier\n\n### 🔦 单文件部署\n- github action 自动发布 [Releases](https://github.com/ac0d3r/Hyuga/releases)\n\n### 🔐 支持HTTPS\n1. [安装Caddy](https://caddyserver.com/docs/install)\n2. 配置 `/etc/caddy/Caddyfile` \u0026 重启 `systemctl restart caddy`\n```caddyfile\n// Example\nzznq.hyuga.icu {\n    reverse_proxy localhost:8080\n}\n:80 {\n    reverse_proxy localhost:8080\n}\n```\n\n### 🚀 查询 API\n- `GET` - `https://{hyuga.io}/api/v2/record/all?token={token}\u0026type={type}\u0026filter={filter}`\n    - `type`: 查询类型 `dns|http|ldap|rmi`\n    - `token`: 域名 token\n    - `filter`: 过滤字符\n- 支持重置 API Token\n\n    \u003cimg width=\"250\" alt=\"image\" src=\"https://user-images.githubusercontent.com/26270009/236441871-60e51cf3-e0dc-4786-a6a8-869655b31a07.png\"\u003e\n\n\n## 👀 其他\n\n### 🪓 DNS Rebinding\n假设DNS Rebinding的域名为 `r.b34s.hyuga.io`， 公网IP为 `2.3.3.3`，dns的配置如下图：\n\n\u003cimg width=\"420\" alt=\"image\" src=\"https://user-images.githubusercontent.com/26270009/236439602-09e1222f-09b5-4cee-b10b-d8e23b384464.png\"\u003e\n\n那么查询 `r.b34s.hyuga.io` 时根据访问次数依次返回所设置的dns（无缓存时）：`2.3.3.3` -\u003e `127.0.0.1` -\u003e `2.3.3.3`...\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=ac0d3r/Hyuga\u0026type=Date)](https://star-history.com/#ac0d3r/Hyuga\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fac0d3r%2Fhyuga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fac0d3r%2Fhyuga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fac0d3r%2Fhyuga/lists"}