0

I have the following exercise to do: There is some service running on the server (on a random port). Use socat to connect to this server and it will reply back answer to the exercise.

The protocol is SCTP, you need to use the appropriate flag in socat when searching ports.

Anyone have an idea what flag could be helpful?

I tried e.g. The following but to no avail. I need to find a port for a service running on SCTP and then connect to it via SOCAT.

for i in {1..65535}; do echo "hi" > socat -x -d -d -d - sctp:<IP>:$i > $(tty); done
for i in {1..65535}; do echo "hi" > socat -x -d -d -d - sctp:<IP>:$i; done
Mr_Milky
  • 155
  • 9

0 Answers0