Skip to main content

simple telnet interactive module

Project description

telnet

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

Install :

pip install telnet

or

pip3 install telnet

Usage :

import telnet t=telnet.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.0.0.tar.gz (2.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page