Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 235 Bytes

netcat.md

File metadata and controls

7 lines (7 loc) · 235 Bytes

To run netcat in the listening mode and automatically send a message once client has connected

# GNU version of netcat
echo "Welcome to Ihar's Server" | nc -l <PORT>
# or
echo "Welcome to Ihar's Server" | nc -l -p <PORT>