Bash supports sockets directly. Read the man page under redirection:
/dev/tcp/host/port
If host is a valid hostname or Internet address, and port
is an integer port number or service name, bash attempts
to open a TCP connection to the corresponding socket.
/dev/udp/host/port
If host is a valid hostname or Internet address, and port
is an integer port number or service name, bash attempts
to open a UDP connection to the corresponding socket.
On Sat, Aug 14, 2004 at 09:06:50AM +0200, IndianZ wrote:
> Hi List
>
> Is there a possibility to bind /bin/bash on a socket with legacy unix
> commands?
>
> Thanx in advance...
>
> GreetZ from IndianZ
>
> mailto:indianz@xxxxxxxxxx
> http://www.indianz.ch
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.netsys.com/full-disclosure-charter.html
>
--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org
Attachment:
pgp00052.pgp
Description: PGP signature