Why doesn't wireshark recognize the http text in my tcp request?
-
14-07-2021 - |
Question
I'm trying to send http data over a custom made pcap.net based tcp client.
Normally, when I send request via browser, in wireshark it looks like this:
However, when I send the same data over TCP myself, in wireshark the request looks like this:
and the server does not respond properly to it.
I'm attaching the data to TcpDatagraw via PayloadLayer, but it seems that something is missing.
What should I change so this works properly?
Solution
Try appending 2 CRLFs (\r\n\r\n) at the end of the HTTP data
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow