netcat

Commands

ncat -4 -C pichove.org 80

... opens connection to port 80. "GET / HTTP/1.0" can be invoked and terminated by CRLF (nmap, traditional)



ncat -l -p 443 -c "ncat pichove.org 443"

... listen on port 443 and redirect traffic to pichove.org:443 (nmap, traditional)



ncat -vz 192.168.0.1 80-90

... show only connection status for TCP connections. Use -u for UDP connections (nmap)



Argument description

  • -n Do not do any DNS or service lookups on any specified addresses, hostnames or ports
  • -w Connections which cannot be established or are idle timeout after "timeout" seconds. The default is no timeout.

2026-04-11 12:33:44

minicms - © 2020-2026 Simeon Simeonov