
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
A wrapper for telnetlib.Telnet() that handles SSL/TLS, with optional
TELNET negotiated TLS. This can be used to connect to TELNETS and
SSLTELNET servers, as well as various MUD/MUCK/MUSH chat servers.
The API for SslTelnet is just like that for the standard python library telnetlib, with the addition of a few arguments to the Telnet() initializer.
ssltelnet.SslTelnet() Called just like telnetlib.Telnet(), with these extra optional arguments:
force_ssl
If True, force SSL negotiation as soon as connected. Defaults to True.
telnet_tls
If true, allow TELNET TLS negotiation after non-ssl connection. Defaults to True.
You can also pass args that ssl.wrap_socket() would expect.
If force_ssl is True, plaintext connections aren't allowed.
If force_ssl is False, and telnet_tls is True, the connection
will be plaintext until the server negotiates TLS, at which
time the connection will be secured.
If both are False, the connection will be plaintext.
::
import ssltelnet
s = ssltelnet.SslTelnet(force_ssl=False, host='foobar.com', port=23)
print(s.read_until(b'\n', 10))
s.close()
FAQs
An wrapper to add SSL/TLS support to telnetlib.
We found that ssltelnet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.