exec 3<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\n\n">&3
cat <&3

Will in fact get you the index page from google.  However you won't see
a /dev/tcp if you look in /dev it is intercepted by bash itself.  Also
worth noting that bash is not the default shell in ubuntu 9.10, it is
dash.

/bin/bash is where the binary for the shell is located


strings /bin/bash | grep -iE "tcp|udp"
/dev/tcp/*/*
/dev/udp/*/*

-- 
add /dev/tcp/... support
https://bugs.launchpad.net/bugs/215034
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to