Skip to main content

simple telnet module

Project description


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

Install :

pip install telnetlib2


pip3 install telnet

Usage :

import telnetlib2 t=telnetlib.telnet() ip=''#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.

Files for telnetlib2, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size telnetlib2-1.1.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page