Interacting with continuous netcat session from bash script

0

I need to make a bash script to open the netcat session, then read server messages and after every message send a response depending on the message, so the responses cannot be pre-written to a file. So the server randomly generates a request and a script should generate a response and send it back, while not closing the connection.

Igor Gunin

Posted 2019-12-07T12:52:34.920

Reputation: 1

What is your research effort? What have you tried? Where are you stuck? Please respond by [edit]ing the question. – Kamil Maciorowski – 2019-12-10T21:44:10.670

No answers