المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Talking to a telnet server [modified]



C# Programming
08-09-2009, 10:45 PM
Hello Everyone-

I am trying to build an application that connects to a telnet server and interacts with it issuing various commands. I have done this in the past and it worked relatively painlessly. This particular device I am working with today however, is using some sort of advanced feature and is sending me an authentication request as soon as I connect to it. (If I use microsoft telnet client to connect, as soon as I connect it prompts me to send my windows login information, if I say no, I am brought to a login: prompt, this is what I want to get to with my program).

I have been scouring the net and I cannot find what my response should be to this server to tell it that I do not want to use the NTLM authentication, I just want to be brought to the login: prompt. If anyone could help me I would greatly appreciate it!

EDIT: By the way, as soon as I connect, this is what I receive from the server:

FF FD 25 FF FB 01 FF FB 03 FF FD 27 FF FD 1F FF FD 00 FF FB 00

modified on Sunday, August 9, 2009 2:28 PM