🏗️ 安装
⛏️ 使用
📡 通过Burp Suite代理HTTP请求

要安装 headerpwn,请运行以下命令:
go install github.com/devanshbatham/[email protected]
headerpwn 允许你在目标 URL 上测试各种请求头并分析响应。以下是使用该工具的方法:
-url 参数提供目标 URL。-headers 参数指定该文件的路径。使用示例:
headerpwn -url https://example.com -headers my_headers.txt
my_headers.txt 的格式应如下所示:Proxy-Authenticate: foobar
Proxy-Authentication-Required: foobar
Proxy-Authorization: foobar
Proxy-Connection: foobar
Proxy-Host: foobar
Proxy-Http: foobar
按照以下步骤通过 Burp Suite 代理请求:
导出 Burp 证书:
127.0.0.1:8080 的监听器。安装 Burp 证书:
完成以上步骤后,即可使用:
headerpwn -url https://example.com -headers my_headers.txt -proxy 127.0.0.1:8080


headers.txt 文件整理自多个来源,包括 Seclists 项目。这些请求头用于测试目的,提供了多种场景来分析服务器对不同请求头的响应。