Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/expect
- set ip [lindex $argv 0]
- spawn telnet $ip
- set timeout 10
- expect "Login:"
- send "administratorr"
- expect "Password:"
- send "123456"
- send "r"
- sleep
- expect "Login:"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement