找回密码
 加入
搜索
查看: 2547|回复: 0

[系统综合] 在telnet窗口中让输入的用户名和密码回显为*******呢?

[复制链接]
发表于 2010-7-1 22:29:02 | 显示全部楼层 |阅读模式
func dlink36()
                $s=ping(GUICtrlRead($telnet),500)
           if $s Then
        run("telnet " & GUICtrlRead($telnet))
        WinActivate("Telnet","")
                winsetstate("Telnet " & GUICtrlRead($telnet),"",@SW_HIDE)
                sleep(100)
                send("xuweiwei" & "{enter}")
                send("123456" & "{enter}")
                send("enable admin" & "{enter}")
         send(GUICtrlRead($enable),1)
         send("{enter}")
         send("conf ports " & GUICtrlRead($port) & " state enable " & "speed 10_half" & "{enter}")
        Else
        MsgBox(0,"交换机状态","交换机设备不通")
        EndIf
         EndFunc


如何让send("xuweiwei" & "{enter}")
          send("123456" & "{enter}")
中的xuweiwei,及123456在telnet窗口中回显为*******呢?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-6-10 02:16 , Processed in 0.077652 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表