netcat with verbose captures client IP.
but I can not put it in a variable.
VAR=$(nc -v -l 82)
is there a way to get the sender's ip into a $VAR ?
Note:
Verbose mode only prints extra lines on the terminal.
it does not place that data into the $VAR