如果用批处理 运行telnet
发布网友
发布时间:2024-10-01 03:50
我来回答
共2个回答
热心网友
时间:2024-10-16 09:49
Dim wshshell
set wshshell=CreateObject("wscript.shell")
wscript.sleep 2000
WshShell.Run "telnet show"
wscript.sleep 5000
wshshell.sendkeys "account"
wshshell.sendkeys "{ENTER}"
wscript.sleep 1000
wshshell.sendkeys "psw"
wshshell.sendkeys "{ENTER}"
wscript.sleep 1000
wshshell.sendkeys "ssh -l account 127.0.0.1"
wshshell.sendkeys "{ENTER}"
wscript.sleep 1000
wshshell.sendkeys "psw"
wshshell.sendkeys "{ENTER}"
纯模拟键盘操作,你测试一下,保存为2.vbs执行
热心网友
时间:2024-10-16 09:49
偶也关注下,希望能用学会