Advertisement
Guest User

Untitled

a guest
May 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/usr/bin/expect
  2. spawn telnet 10.1.0.1
  3. expect "Username : "
  4. send "Administrator\r"
  5. expect "Password : "
  6. send "\r"
  7. expect "_{Administrator}=>"
  8. send "adsl info expand=enabled\r"
  9. expect "{Administrator}=>"
  10. send "exit\r"
  11. interact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement