Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 hping 中模拟 HTTP 请求。
谁能建议如何做到这一点?
只需将端口指定为 80 就足够了吗?
使用hping是不可能的,因为使用 hping 不在应用层上工作,而 HTTP 在应用层上。
hping3 是一种网络工具,能够发送自定义 TCP/IP 数据包并显示目标回复,就像 ping 程序对 ICMP 回复所做的那样。hping3 处理分段、任意数据包主体和大小,可用于传输在支持的协议下封装的文件。
如果你想模拟 HTTP 请求可以使用scapy。