[TAG] Where to send more 2c TIPS?
Kapil Hari Paranjape
kapil at imsc.res.in
Fri Jul 16 07:45:04 MSD 2004
On Thu, Jul 15, 2004 at 10:40:17PM -0400, Ben Okopnik wrote:
[snip]
> So, after all of that - will the stuff promised by the Bash man page
> work?
>
> -----------------------------------------------------------------------
> ben at Fenrir:~$ su -c 'thttpd -d ~ben/www'
> ben at Fenrir:~$ cat /dev/tcp/localhost/80
> cat: /dev/tcp/localhost/80: Not a directory
> ben at Fenrir:~$ nc /dev/tcp/localhost/80
> /dev/tcp/localhost/80: forward host lookup failed: Unknown host
> -----------------------------------------------------------------------
>
> Hm. Maybe I'm not understanding what they mean by a TCP connection.
> Anyone care to take it past this point?
I asusme you are really Debianized. So quoting from
/usr/share/doc/bash/README.Debian.gz:
9. Why is bash configured with --disable-net-redirections?
It can produce completely unexpected results. This kind of
feature should not be part of a shell but a special. tool. And
that tool has existed for years already, it's called netcat.
Regards,
Kapil.
--
More information about the TAG
mailing list