且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何创建 HTTP GET 请求 Scapy?

更新时间:2021-10-12 05:46:41

您正在发送 SYN 并正确接收 SYN_ACK.此时,您应该根据您收到的 SYN_ACK 生成并发送一个 ACK​​,然后最终发送 HTTP GET 请求.看来你对TCP 3次握手机制有些困惑.简而言之,您不应该获得"ACK,您应该自己生成并发送.

You are sending a SYN and correctly receiving a SYN_ACK. At this point, you should generate and send an ACK based on the SYN_ACK that you've received, and THEN finally transmit the HTTP GET request. It seems that you are somewhat confused about the TCP 3-way handshake mechanism. In short, you are not supposed to 'get' an ACK, you are supposed to generate and send this yourself.