Hi, thank you for providing this convenient script. BNU has updated the network access authentication system, and I can't login with this script after that. I was wondering if this script also need an update. Can you help me out?
The return info is: Error: login: can't communicate to server (Not found)
A noticeable lag can be observed on startup. This may be traced to ConfigParser and platform's numerous calls to re. We cannot do much about the former but may consider replace the latter with our own lightweight calls to something like os.uname. The platform package is only called to determine the uname, anyway. Implication for Jython users is unknown as Jython has not been tested.
Currently the options, such as the port number or server address, are not validated. No foreseeable security implications arise, but garbage input may end up producing an ugly trace dump, or worse, a silent failure.