GithubHelp home page GithubHelp logo

doytsujin / telnets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reiver/telnets

0.0 1.0 0.0 6 KB

User interface to the TELNETS protocol. TELNETS is the secure version of the TELNET protocol. TELNETS is the TELNET protocol over a secure TLS (or SSL) connection. (Also note that TELNETS and SSH are not the same thing.)

License: MIT License

Go 100.00%

telnets's Introduction

telnets

User interface to the TELNETS protocol. TELNETS is the secure version of the TELNET protocol.

TELNETS is the TELNET protocol over a secure TLS (or SSL) connection.

Usage

telnets host [port]

TELNETS vs SSH

Note that TELNETS and SSH are not the same thing.

SSH is considered a secure alternative to the (un-secure) TELNET protocol. (And note that is "TELNET" without an "S" at the end.)

TELNETS (with an "S" at the end) is the secure version of (un-secure) the TELNET protocol.

What does the "S" at the end mean?

The "S" at the end of "TELNETS" stands for "secure". Just like the "S" at the end of "HTTPS".

openssl ?

But wait... you might be thinking... isn't TELNETS the same as call to openssl s_client -host $1 -port $2?

Absolutely not!

The TELNET and TELNETS have special binary escape codes and control codes that openssl does not understand, and won't be able to handle properly. And will lead to corruption of the data stream!

For example, in the TELNET and TELNETS protocols, byte value 255 has a special meaning, and is called IAC (which is short for "interpret as command").

If byte value 255 is sent as data, then it must be "escaped" by having two IACs in a row. (So IAC becomes IAC IAC; or in other words 255 becomes 255 255.)

If this is not done, it will corrupt the TELNET and TELNETS data stream!

But that is just one example. The following is also a control sequence: 255 251 24. (This happens to mean IAC WILL TERMINAL-TYPE.)

If this happens to be in the data, then it must be "escaped" properly, or it will corrupt the TELNET and TELNETS data stream.

telnets's People

Contributors

reiver avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.