32ae3e881e
This commit adds a save_cred method for saving off the credentials upon a successful login attempt. Also, exception handling surrounding the opening of the telnet socket has been added to avoid any accidental resource leaking.