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.0.0.tar.gz
(2.3 kB
view details)
File details
Details for the file telnetlib2-1.0.0.tar.gz.
File metadata
- Download URL: telnetlib2-1.0.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 |
b8d4fb356816b011bc46d6346c3b0d81a21c5391ac67ea83776b7a336c8b6009
|
|
| MD5 |
4077dc7a0f3284ba6534fc11b9144053
|
|
| BLAKE2b-256 |
ffdab0ce49cbfb7585f6e7a07d09b5865db2c3a5c7c72366c2fa8e152354ffae
|