Netcat

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire
netcat
Developed by *Hobbit*[1]
Latest release 1.10 / March 20, 1996
OS UNIX
Type Network utility
License Permissive free software[2]
Website http://www.vulnwatch.org/netcat/

netcat is a computer networking utility for reading from and writing to network connections on either TCP or UDP.

Netcat was voted the second most useful network security tool in a 2000 poll conducted by insecure.org on the nmap users mailing list.[3] In 2003, it gained fourth place,[4] a position it also held in the 2006 poll.[1]

Contents

Examples

Copy files from machine foo to bar on port 3333 (-l, listen):

 user@bar$ nc -l -p 3333 > backup.iso
 user@foo$ nc bar 3333 < backup.iso 

Open a raw connection to port 25 (like telnet):

 nc mail.server.net 25

Check if UDP ports (-u) 80-90 are open on 192.168.0.1 using zero mode I/O (-z):

 nc -vzu 192.168.0.1 80-90

Variants

The original version of netcat is a UNIX program. Its author is known as *Hobbit*. He released version 1.1 in March of 1996.

Netcat is fully POSIX compatible and there exist several implementations, including a rewrite from scratch known as GNU netcat, which is maintained by Giovanni Giacobbi and an MS-Windows version of netcat created by Chris Wysopal. Andreas Bischoff has ported the Windows version to Windows CE (now known as Windows Mobile).

On some systems, modified versions or similar utilities go by the command name(s) nc, ncat, pnetcat, socat, sock, socket, sbd.

socat is a more complex cousin of netcat. It is larger and more flexible than netcat, and has more options that must be configured for a given task.

Cryptcat is a version of netcat with integrated transport encryption capabilities.

References

  1. ^ a b "Top 100 Security Tools" (2006). Retrieved on 2008-02-18.
  2. ^ "Copyright file". Debian. Retrieved on 208-09-06.
  3. ^ "Top 50 Security Tools" (2000). Retrieved on 2007-09-30.
  4. ^ "Top 75 Security Tools" (2003). Retrieved on 2007-09-30.

See also

External links

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net