Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Incorporate PIPING through a network using NETCAT

rconn

Administrator
May
13,066
195
Staff member
Incorporate PIPING through a network using NETCAT

Netcat (NC) is a utility program that connects 2 pipes over a TCP/IP network connection. One pipe connects STDOUT of the local computer to the STDIN of the remote computer; the other pipe connects the STDOUT of the remote computer to the STDIN of the local computer.

A connection is created when a listener NC is established on an IPaddress/Port, then a client NC is connected on the other computer to the listener's IPaddress/Port.
NC terminates on an error, or when disconnected (manually pressing Ctrl-C/Ctrl-Break or programmatically).

This utility is relevant to the rest of TCC .
1.It involves PIPEs (see above)
2.It leverages the use of TCC functionality, like TPIPE.
3.Its core function/operation is simple (see above).
4.It can be used to connect to TCC's HTTP:// functionality.

NC should be **integrated** into TCC because NC would be faster, more stable, and could offer completely new NC functionality (for example, to better deal with STDERR, or return an errorlevel from TCC on NC termination)

NC is used as a networking "swiss army knife". Example one-command-line uses:
* telnet client/server -- run TCC remotely (also poor man's REXEC-like service)
* http-GET webserver
* text chat connection client & server
* https-GET secure webserver
* proxy server
* port redirector
* simple port scanner
* appserver -- using simple TCC batchfiles (yes!)

Netcat is a simple program. Understanding TCP/IP is not *really* required (knowledge of IP addresses and ports help)

Netcat is a simple command. Ncat (see below) only has 40 switches (TCC can factor those into groups,… more

6f6f1e59501fa2158cb825a9382e079c
Tim Pease on November 27, 2012 20:22
 
Back
Top