新手,喜欢问问题,请大家多包涵!
- @echo off
- >>Telnet.vbs echo Dim aa
- >>Telnet.vbs echo Set aa=WScript.CreateObject("WScript.shell")
- >>Telnet.vbs echo aa.run "telnet 192.168.0.1"
- >>Telnet.vbs echo WScript.Sleep 3000
- >>Telnet.vbs echo aa.SendKeys "Username"
- >>Telnet.vbs echo aa.SendKeys "{ENTER}"
- >>Telnet.vbs echo aa.SendKeys "Passwords"
- >>Telnet.vbs echo aa.SendKeys "{ENTER}"
- ……………………
- Telnet.vbs
- del Telnet.vbs
复制代码
为防止密码泄露,想在登陆的时候提示自己手动输入密码,该如何实现,请各位大侠赐教~ |