Hello Boris, hello everyone !
Well, I'm back from a little vacation
and I've tried the new version of the script, it works fineeee !
I hope you are all ready for the next challenge. Regarding this script, I have received another task : authentication with more than 1 password. I will explain this request in the following lines :
- If the script tries to connect to an ip address, but the password is not good, it should try another password. It don't need a list of potential passwords, i need the script to try connect to the ip address (if the device is reachable at ping) with only 2 passwords.
- so the short version : tera term connects to the ip, tries with user : admin
and password : aaaa
and if the password is not ok the script should try with user : admin
and password : bbbb
That would be all. Is there a command for this multiple password issue ? Does anyone of you have any ideas ?
Thanks and best regards !