background preloader

NetCat

Facebook Twitter

Netcat. Morg NetCat Wiki. Netcat: the TCP/IP swiss army. Netcat. Netcat is a network utility for reading from and writing to network connections on either TCP or UDP.

Netcat

Hobbit (hobbit@avian.org) created netcat in 1995 as a network analog of Unix cat command. The flexibility and usefulness of this tool have prompted people to write numerous other Netcat implementations -- often with modern features not found in the original. Netcat is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Most common version is 1.1: Among the most interesting clones under active development is socat, which extends Netcat to support many other socket types, SSL encryption, SOCKS proxies, and more.

Other takes on Netcat include OpenBSD's nc, Cryptcat, Netcat6, PNetcat, SBD. Several projects look dead. Examples Old News ;-) Useful Uses Of netcat. Version 1.0 Author: Falko Timme Last edited 11/28/2008 This short article shows some useful netcat commands. netcat is known as the TCP/IP swiss army knife.

Useful Uses Of netcat

From the netcat man page: netcat is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. I do not issue any guarantee that this will work for you! 1 Preliminary Note I'm using two systems in this article: A Unix Utility You Should Know About: Netcat. This is the second post in the article series about Unix utilities that you should know about.

A Unix Utility You Should Know About: Netcat

In this post I will introduce you to the netcat tool or simply nc. Netcat is often referred to as a "Swiss Army knife" utility, and for a good reason. Just like the multi-function usefulness of the venerable Swiss Army pocket knife, netcat's functionality is as helpful. Some of its features include port scanning, transferring files, port listening and it can be used a backdoor. In 2006 netcat was ranked #4 in "Top 100 Network Security Tools" survey, so it's definitely a tool to know. See the first post on pipe viewer for the introduction to this article series. How to use nc? Let's start with a few very simple examples and build up on those.

Green Hackerz: NetCat. Hello GreenHackers..

Green Hackerz: NetCat

In this article we will discussed about NetCat. NetCat is also known as Swiss Army Knife.. So Let's Start... Netcat cheat sheet v1. Netcat for Windows. April 10, 2009 Netcat is a simple networking utility which reads and writes data across network connections using the TCP/IP protocol.

Netcat for Windows

It's a wonderful tool for debugging all kinds of network problems. It allows you to read and write data over a network socket just as simply as you can read data from stdin or write to stdout. I have put together a few examples of what this can be used to accomplish. Ncat - Netcat for the 21st Century. . .

Ncat - Netcat for the 21st Century

\`-"'"-'/ } 6 6 { ==. Y ,== /^^^\ . / \ ) ( )-( )/ _ -""---""--- / / Ncat \_/ ( ____ \_. =|____E Ncat is a feature-packed networking utility which reads and writes data across networks from the command line. Ncat was written for the Nmap Project as a much-improved reimplementation of the venerable Netcat. It uses both TCP and UDP for communication and is designed to be a reliable back-end tool to instantly provide network connectivity to other applications and users. Among Ncat’s vast number of features there is the ability to chain Ncats together, redirect both TCP and UDP ports to other sites, SSL support, and proxy connections via SOCKS4 or HTTP (CONNECT method) proxies (with optional proxy authentication as well).

Ncat is integrated with Nmap and is available in the standard Nmap download packages (including source code and Linux, Windows, and Mac binaries) available from the Nmap download page. OpenBSD manual pages. Nc — arbitrary TCP and UDP connections and listens The nc (or netcat) utility is used for just about anything under the sun involving TCP, UDP, or UNIX-domain sockets.

OpenBSD manual pages

It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6. Unlike telnet(1), nc scripts nicely, and separates error messages onto standard error instead of sending them to standard output, as telnet(1) does with some. Common uses include: simple TCP proxies shell-script based HTTP clients and servers network daemon testing a SOCKS or HTTP ProxyCommand for ssh(1) and much, much more The options are as follows: Forces nc to use IPv4 addresses only.

Forces nc to use IPv6 addresses only. -C certfile Specifies the filename from which the public key part of the TLS certificate is loaded, in PEM format. -c If using a TCP socket to connect or listen, use TLS. Enable debugging on the socket. -d Do not attempt to read from stdin. -e name -H hash.