cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and telnet

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 20 Dec 2005 23:50:58 -0800

On Tue, Dec 20, 2005 at 12:35:41PM +0100, Daniel Stenberg wrote:
> Because there's no way to do it using the TELNET protocol, and all other
> ways to do it requires that you somehow wait or expect some special string
> from the server and then sends the password. That special string can be
> _anything_.
>
> I'd be happy to be proven wrong on this.

There is a way to send at least the user name to the remote daemon "out of
band"; see the -a option of telnet(1): "...this sends the user name via
the USER variable of the ENVIRON option if supported by the re­
mote system." This seems like a harmless addition when the user supplies the
-u option to curl.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-21