Skip to content

Instantly share code, notes, and snippets.

@vinadm
Created December 9, 2020 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinadm/fca381894dc57b1f24369be9546eb0a4 to your computer and use it in GitHub Desktop.
Save vinadm/fca381894dc57b1f24369be9546eb0a4 to your computer and use it in GitHub Desktop.
ivgkp1
#!/usr/bin/expect -f
set timeout 5
spawn telnet 192.168.0.85 14554
sleep 1
expect "'^]'."
send "$*10040988\n"
#send "35\n"
expect "telnet>"
send - - "quit\r"
interact
expect eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment