Re: Output redirection to sockets possible within rbash

2018-02-03 Thread Blake Burkhart
On Sat, Feb 3, 2018 at 4:55 PM, Chet Ramey wrote: > On 2/3/18 12:20 PM, Blake Burkhart wrote: > > Within rbash, attempting to open a socket using /dev/tcp with <> fails as > > expected due to output redirection being disabled: > > > > rbash-4.4$ exec 3<>/dev/tcp/www.gnu.org/80 > > rbash: /dev/tcp

Re: Output redirection to sockets possible within rbash

2018-02-03 Thread Chet Ramey
On 2/3/18 12:20 PM, Blake Burkhart wrote: > Within rbash, attempting to open a socket using /dev/tcp with <> fails as > expected due to output redirection being disabled: > > rbash-4.4$ exec 3<>/dev/tcp/www.gnu.org/80 > rbash: /dev/tcp/www.gnu.org/80: restricted: cannot redirect output > > Howeve