Skip to content
Advertisement

I can’t get a response from the server via socket python

JavaScript

I’m trying to send a string to the server, but I can’t send the data and get a response, what’s the problem, please help.

When I connect to the server via netcat, everything is fine.

Advertisement

Answer

JavaScript

I was finally able to get a response from the server, it was because NetCat automatically adds n when sending text and the command on the server worked, but I did not add this character when sending text 🤦

I had to figure out how to use Wireshark to figure it out)

Advertisement