1. Test if a particular TCP port of a remote host is open. $ nc -vn 192.168.233.208 5000 nc: connect to 192.168.233.208 5000 (tcp) failed: Connection refused $ nc -v 192.168.233.208 22 Connection to 192.168.233.208 22 port [tcp/ssh] succeeded! SSH-2.0-OpenSSH_6.0p1 Debian-4 2. Send a test UDP packet to a remote host. The command below sends […]
Articles Tagged: netcat
What are some command line Tools in Linux and Windows? What do they do?
arp: used to view and manage the arp cache, can be used to look at the Layer 3-to-Layer 2 mapping on an Ethernet network for most Windows- and Linux-based devices. dig: verify DNS resolution. dhclient: releases your computer’s IP address to get a new one from the DHCP server host: performs DNS lookups – give […]
What is netcat?
About nc nc is the command which runs netcat, a simple Unix utility that reads and writes data across network connections, using the TCP or UDP protocol. It is designed to be a reliable “back-end” tool that can be used directly or driven by other programs and scripts. At the same time, it is a […]