lundi 13 avril 2015

How can I make a batch file or script file which will be able to auto login into any router with provided password

How can I make a bat file or script file which will be able to auto login into any router with provided password...I tried a script code but this is not taking password and asking to enter in coming cmd window..Please help either in this vb script or any other solution ..



Set cloner = CreateObject("WScript.Shell")

cloner.run"cmd"

WScript.Sleep 500

cloner.SendKeys "telnet 0.0.0.0"

cloner.SendKeys ("{Enter}")

WScript.Sleep 500

cloner.SendKeys "My password"

cloner.SendKeys ("{Enter}")

WScript.Sleep 5000

Aucun commentaire:

Enregistrer un commentaire