New answers tagged netcat
Netcat will close a connection if EOF is being received through the input file descriptor. As the echo "string" | nc syntax is sending the "string" immediately followed by EOF, netcat is tearing down the connection instantly, without accepting any data from the remote end. A more suitable syntax would be something like (echo "fetch my-plugin" && ...
Top 50 recent answers are included