To telnet or to netcat... that's the question

Ed Greshko Ed.Greshko at greshko.com
Sat Sep 1 03:47:25 UTC 2012


On 09/01/2012 11:42 AM, NOSpaze wrote:
> On Fri, 2012-08-31 at 22:31 +0800, Ed Greshko wrote:
>> On 08/31/2012 10:15 PM, Timothy Murphy wrote:
>>> Ed Greshko wrote:
>>>
>>>> Maybe add -o filename to record the session?  Or, try using the -i
>>>> parameter to delay sending data?
>>> I don't see a -o option in "man telnet".
>>> Have I misunderstood you?
>> Since "nc" is giving the problem....  I'm suggesting options within nc....  Same goes for -i
> Already tried -i. No success. Already tried:
>
> # iconv -f UTF-8 -t ISO8859-1 myscript > myscript.ISO8859-1
>
> (hah! could it be caused some encoding issue?)
>
> # chmod +x myscript.ISO8859-1
> # ./myscript.ISO8859-1
>
> and 
>
> # . ./myscript.ISO8859-1
>
> (hah! could it be caused by the environment vars?)
>
> asterisk said == Connect attempt from '127.0.0.1' unable to
> authenticate. This is making me lose the sense of existence. THIS USED
> TO WORK!!!
>
> :(

I managed to delete some of the original thread....  So, could you remind me....

The nc stuff ...  It works when you type it in from the terminal but fails when scripted?


-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled


More information about the users mailing list