Sunday, January 13, 2008

Netcat - Swiss army knife for network troubleshooting

Netcat - Swiss army knife for network troubleshooting

Use netcat as a simple port scanner
nc -v -w 1 somehost -z 1-1024

Use netcat to talk to your servers
nc -v www.microsoft.com 80

Use netcat to test a connection
nc -v -l -p 6000