Add support for backpipes

rconn

Administrator
Staff member
May 14, 2008
12,557
167
Add support for backpipes

Linux has the concept of pipes within the file system that can be used to create backpipes.

The command in linux is:
mkmod backpipe p
nc -l -p 80 0<backpipe | nc 127.0.0.1 22 1>backpipe

That creates a listener that connects its stdin to the backpipe (0<) and forwards stdout to the client (|). The client gets its stdin from the pipe and directs its stdout to the backpipe (1>).

4130ecec09f4316ce4b8674a70813f6f
Scott Mintz on April 21, 2014 12:55
 

Similar threads