4 ms·
For Bash with `--enable-net-redirections` set at configure time (not a default, not enabled on popular distros to my knowledge), `/dev/{udp,tcp}/$host/$port` is
by striking 2y ago
For Bash with `--enable-net-redirections` set at configure time (not a default, not enabled on popular distros to my knowledge), `/dev/{udp,tcp}/$host/$port` is available for this purpose.
- dfc 2y agoDoes anyone know if there is a good reason to disable net-redirections?
- xyzzy_plugh 2y agoSure. It makes it incredibly easy to establish, for example, a reverse shell. In a purpose-built environment there is practically no need for such a feature aside from mischief.