How can i use tcp to interact with a server and download his html file into my computer? I know that first you need to preform the 3 way handshake and then to send a GET request. But what then? Thank you
HTML text is written in the packet's Raw layer in scapy. In order to save a HTML file, simply write the pkt[Raw].load into a text file.
HTML download using tcp