0 Membros e 1 Visitante estão a ver este tópico.
'FICHEIRO REBOOT.VBS------------------------------------------------------------------' Script desenvolvido e testado para router THOMSON TG787' More Info:' -----------------------------------------------------------------------------Set oShell = CreateObject("WScript.Shell")oShell.run "cmd.exe"WScript.Sleep 500oShell.SendKeys "telnet 192.168.1.1"oShell.SendKeys ("{Enter}")WScript.Sleep 1000oShell.SendKeys "Administrator"oShell.SendKeys ("{Enter}")WScript.Sleep 500oShell.SendKeys "password"oShell.SendKeys ("{Enter}")WScript.Sleep 500oShell.SendKeys "system"oShell.SendKeys ("{Enter}")WScript.Sleep 500oShell.SendKeys "reboot"oShell.SendKeys ("{Enter}")WScript.Sleep 500oShell.SendKeys "% "