• Need help connecting to a telnet server using TCP.
    2 replies, posted
Hey, everyone. Not sure where to post this, hope I can get some help on this. I'm trying to connect to a telnet server, but when I connect, it returns ÿý[CAN]ÿý ÿý#ÿý' Is there some sort of handshake I'm supposed to do? I thought that telnet would be a little more plain-text than that.
Thats telnet option negotiation. Some good sources : [URL]http://mud-dev.wikidot.com/telnet:negotiation[/URL] [URL]https://tools.ietf.org/html/rfc854[/URL] Most telnet clients and servers don't need the negotiation, you can just drop everything and start sending and receiving stuff but some servers require specific options. [editline]14th February 2015[/editline] [url]http://www.iana.org/assignments/telnet-options/telnet-options.xhtml[/url]
[QUOTE=quincy18;47139910]Thats telnet option negotiation. Some good sources : [URL]http://mud-dev.wikidot.com/telnet:negotiation[/URL] [URL]https://tools.ietf.org/html/rfc854[/URL] Most telnet clients and servers don't need the negotiation, you can just drop everything and start sending and receiving stuff but some servers require specific options. [editline]14th February 2015[/editline] [url]http://www.iana.org/assignments/telnet-options/telnet-options.xhtml[/url][/QUOTE] Thank! I've actually figured it that it was telnet negotiation on my own, I found a little example and proceeded to deny everything the server asked. Apparently this means that the server thinks I have a screen size of 0,0 and cannot open programs like nano and such. Anyway, the sources you gave me will be great for setting up a proper negotiation so I can properly run programs like nano via the HTTPS webshell I'm working on. Thank you so much.
Sorry, you need to Log In to post a reply to this thread.