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.
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