일요일, 5월 26, 2024
HomeWindowsSecureCRT Login Script

SecureCRT Login Script

SecureCRT Login Script

 

secureCRT001

#$language = "VBScript"
#$interface = "1.0"

Sub main
  Dim host
  host = crt.Arguments(0)
  
  crt.Screen.Synchronous = True

  crt.Screen.WaitForString "~]$"
  crt.Screen.Send "ssh " & host
  crt.Screen.Send VbCr

  crt.Screen.WaitForString " password:"
  crt.Screen.Send "password"
  crt.Screen.Send VbCr
    
  crt.Screen.Synchronous = False
End Sub

 

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular