simple telnet 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 telnetlib2
or
pip3 install telnet
Usage :
import telnetlib2 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
telnetlib2-1.1.0.tar.gz
(2.3 kB
view details)
File details
Details for the file telnetlib2-1.1.0.tar.gz
.
File metadata
- Download URL: telnetlib2-1.1.0.tar.gz
- Upload date:
- Size: 2.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f8bbd7bf8a45b4690f3b6b3e7f88664eaec3b0740dae6217cd2062414ce1026d
|
|
MD5 |
e361c34971a0b0569dd1cd7e67eb0529
|
|
BLAKE2b-256 |
6f474e7b7a7a5b3414fbf8c1ccafa862702ef7987fa1550864858d2c9dbc147f
|