W
W
waltaki2020-08-17 10:50:30
Debian
waltaki, 2020-08-17 10:50:30

How to use netcat to send every keystroke on the socket?

With the help of the command, nc -w1 127.0.0.1 9898I connect to the TCP server, but messages are sent only by pressing Enter. Is it possible to somehow send absolutely all keystrokes on the socket? If the netcat standard is not possible. Maybe in modifications like ncat or socat?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2020-08-17
@waltaki

It's not about netcat, it's about terminal settings. It is possible to make stty raw ; nc 127.0.0.1 9898and you will receive character-by-character transmission.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question