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<>

Output redirection to sockets possible within rbash

2018-02-03 Thread Blake Burkhart
s expected.) Combining these issues, within rbash we can open a socket for reading, and perform full read write I/O on it: exec 3&3 cat <&3 This appears to be a bug because normally output redirection is disabled rbash. -- Blake Burkhart