Use UDP mode
Connect over UDP instead of TCP
nc -u 192.168.1.1 5005
- tool
- netcat10 commands
More netcat commands
-
echo -e "GET / HTTP/1.0 " | nc example.com 80Send a raw HTTP GET request with netcat
-
nc -lvp 4444Start a netcat listener on port 4444
-
nc -v 192.168.1.1 22Connect to a port and read the banner that the service sends
-
nc -w 3 192.168.1.1 80Give up if the connection takes longer than 3 seconds
-
nc -lvp 4444Start a netcat listener on port 4444