Skip to main content

simple telnet module

Project description

telnet2

This is an easy to use telnet module to interact with a remote system smoothly over this protocol!

Install :

pip install telnet2

or

pip3 install telnet2

Usage :

import telnet2 t=telnetlib.telnet() ip='192.168.0.32'#just an example t.login(ip, username='root',password='toor',p=23,timeout=5) output1=t.execute('echo ala_is_king') print(output1) output2=t.execute('cd / && ls') print(output2) t.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telnet2-1.1.4.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file telnet2-1.1.4.tar.gz.

File metadata

  • Download URL: telnet2-1.1.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/2.7.17

File hashes

Hashes for telnet2-1.1.4.tar.gz
Algorithm Hash digest
SHA256 d924f5a12df2e2bdbf955f3a5d2bd9d83ca87151cd1c6f7dcd776b4ac28f5b12
MD5 88ce625e201a2e1d083070e05976a3d7
BLAKE2b-256 f807a6ecf73382b30c26dca91efac7165f11f4c24fba0eadef8029ccaf3e4196

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page