exscript
exscript copied to clipboard
A Python module making Telnet and SSH easy
Hi, I've tried to use Exscript with python 3.12 but unfortunately it seems that the `imp` module was dropped, see https://github.com/python/cpython/issues/98040 ```python Python 3.12.0 (main, Oct 5 2023, 12:40:12) [Clang...
I tried: ```python from Exscript.protocols import Telnet conn = Telnet() conn.connect('localhost',5554) print(conn.response) ``` But I only get one "None" After that I also tried: ```python from Exscript.util.start import start from...
Hi, I'm the maintainer of [python-exscript](https://aur.archlinux.org/packages/python-exscript) and [python-exscript-git](https://aur.archlinux.org/packages/python-exscript-git) AUR scripts which build packages of this Python library. According to [`Makefile`](https://github.com/knipknap/exscript/blob/master/Makefile) this library still uses the old deprecated setup method. It...
If `c` is zero, then `c.bit_length()` is zero too. So `c.to_bytes((c.bit_length()+7)//8, 'big')` will return empty string, which is not correct. We need '\x00'.
Hi @knipknap, hi community, the last days - after switching some old environments from Python 2.7 with Exscript 2.6.3/2.6.22 to Python 3.11 with Exscript 2.6.28 - we have encountered some...
I am trying to connect to a cisco ios xr device. ios_xr: Attempting to authenticate ***. ios_xr: Attempting to app-authenticate ***. ios_xr: waiting for: ['[\\r\\n][^\\r\\n]*(?:bad secrets|denied|invalid|too short|incorrect|connection timed out|failed|failure)', '[\\r\\n]*Username:...
I detected a `DeprecationWarning: invalid escape sequence` message. Simply fix it.
I can use telnet to telnet to a device as follows telnet 192.168.200.10 9000 so I can run a command like `$SYS,INFO`. I am trying to use exscript to do...
I'm trying to connect to a telnet server that has a Linux system connected to it, issue a newline character, and use either waitfor or expect (something using regular expressions)...
The readthedocs documentation site at https://exscript.readthedocs.io/en/latest/index.html shows an API Documentation section, which has subsections for packages and modules, but **none of the subsidiary pages are actually populated**. This is probably...