Term
|
Definition
Opening a raw connection to port 25 (like SMTP) |
|
|
Term
nc -vzu 192.168.0.1 80-90 |
|
Definition
Checking if UDP ports 80-90 are open on 192.168.0.1 using zero mode I/O |
|
|
Term
|
Definition
Test if UDP port is open: simple UDP server and client...On the sending host, do the following – note that servname is the hostname of the listening host: |
|
|
Term
nc -v -n -z -w 1 192.168.1.2 1-1000 |
|
Definition
Port scan address 192.168.1.2, port range 1-1000, be verbose, zero I/O mode, don't perform DNS lookups, timeout of 1 second |
|
|
Term
nc -l 12345 | nc www.google.com 80 |
|
Definition
Setting up a listener to act as a proxy, listen on port 12345 and forward all traffic to port 80 of www.google.com |
|
|
Term
|
Definition
A much-improved reimplementation of the venerable Netcat. It is known as the swiss-army knife of networking. |
|
|
Term
|
Definition
Start a /bin/sh shell in a listener on port 1235 |
|
|
Term
|
Definition
Listen for UDP on port 7000, which allows a connection to it from the outside |
|
|
Term
|
Definition
UDP connect to port 7000 on server named serverx |
|
|
Term
|
Definition
Open netcat as a server listening on port 2389, and send all input to the file named test. |
|
|
Term
cat testfile | nc localhost 2389 |
|
Definition
Send the contents of testfile to port 2389 on a server named localhost |
|
|
Term
|
Definition
Connect to port 2389 of the server named localhost. Timeout after 10 seconds. |
|
|