# Hetty HTTP 安全研究工具包

> 用于安全研究的开源 HTTP 工具包，作者希望把它做成 Burp Suite Pro 的替代品。单个 Go 程序即可运行一个使用自生成根 CA 的中间人 HTTP 代理，把经过代理的请求和响应记录到按项目划分的数据库中，支持搜索过滤和范围规则，并提供 Web 管理界面。分析者可在界面中拦下请求和响应进行人工检查，再编辑、放行或取消；也可把已记录的请求复制到 Sender 模块，修改后重新发送。

- 类型：工具
- 目标：网站
- 类别：网站分析工具
- 关联：基础工具
- 来源复核于：2026-10-27
- 收录于：2026-11-03
- 原始资源：<https://github.com/dstotijn/hetty>
- 一手来源：<https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/hetty/>
- 记录 JSON：<https://awesomerea.org/resources/hetty/record.json>
- 英文版：[English](https://awesomerea.org/resources/hetty/index.md)

## 使用条件与局限

- 审阅时最新版本为 v0.7.0，发布于 2022-03-29，提供 x86_64 和 arm64 的 Linux、macOS 及 Windows 构建；README 还列出了 Homebrew、snap、Scoop 软件包和 Docker 镜像。所审阅的 main 提交（2026-06-27）比该版本多 14 个提交，其中包括 2025 年 1 月把 BadgerDB 换成单个 bbolt 数据库文件（默认为用户主目录下 .hetty 文件夹中的 hetty.db）。hetty.xyz 的入门指南仍描述旧的 BadgerDB 目录。README 称 Hetty 仍在积极开发中。
- 运行 hetty 后，打开 8080 端口上的管理界面并创建项目，之后经过代理的请求才会被记录。服务默认监听所有网络接口（:8080）。首次启动时，Hetty 会在该 .hetty 文件夹中生成根 CA 证书和私钥。如需检查自己浏览器中的 HTTPS 流量，分析者需信任该 CA（hetty cert install 可将其加入系统信任库，并可选加入 Firefox 和 Java 信任库），或使用 --chrome 选项启动一个已配置代理并忽略证书错误的 Chrome。Hetty 只记录分析者设置为使用该代理的客户端流量；文档推荐使用 --chrome 配置或浏览器代理扩展，而不是系统级代理设置。
- 从源码构建需要 Go 1.23 和 Yarn：Makefile 先构建 Next.js 管理界面，再在禁用 CGO 的情况下把它嵌入 Go 程序。README 中源码构建说明的链接仍标注为“即将提供”。
- 采用 MIT 许可（© 2019–2025 Hetty Software）。README 的功能列表包括可搜索的代理日志、请求发送器、拦截、范围和项目存储。

## 一手来源

1. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/README.md>
2. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/cmd/hetty/hetty.go>
3. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/cmd/hetty/cert.go#L13-L45>
4. <https://github.com/dstotijn/hetty/tree/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/pkg/proxy/intercept>
5. <https://github.com/dstotijn/hetty/tree/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/pkg/filter>
6. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/Makefile>
7. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/go.mod>
8. <https://github.com/dstotijn/hetty/blob/8ca6b07b75c2df85e4890b61748f9fbccbf4443c/LICENSE>
9. <https://github.com/dstotijn/hetty/commit/fcf0e1c51ebbb6ea0cfb1056164ff75bc056685f>
10. <https://github.com/dstotijn/hetty/releases/tag/v0.7.0>
11. <https://hetty.xyz/docs/getting-started>
12. <https://hetty.xyz/docs/guides/intercept>

## 同分区更多条目：网站

- [debundle JavaScript 打包文件拆包工具](https://awesomerea.org/zh/resources/debundle/index.md) · 工具
- [JStillery JavaScript 部分求值反混淆工具](https://awesomerea.org/zh/resources/jstillery/index.md) · 工具
- [box.js 恶意 JavaScript 分析工具](https://awesomerea.org/zh/resources/box-js/index.md) · 工具
- [breakinggood 网站采集与重建工具](https://awesomerea.org/zh/resources/breakinggood/index.md) · 工具
- [Facebook BitMap Codec 参数编解码工具](https://awesomerea.org/zh/resources/facebookcodec/index.md) · 工具
- [DevLens Ultra 网页组件分析扩展](https://awesomerea.org/zh/resources/devlens-ultra/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
