Guest User

Untitled

a guest
Dec 3rd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.75 KB | None | 0 0
  1. expect: does "Trying 190.43.16.98...\r\nConnected to 190.43.16.98.\r\nEscape character is '^]'.\r\nConnection closed by foreign host.\r\n" (spawn_id exp22) match glob pattern "Username:"? no
  2. "Unable to connect to remote host"? no
  3. expect: read eof
  4. expect: set expect_out(spawn_id) "exp22"
  5. expect: set expect_out(buffer) "Trying 190.43.16.98...\r\nConnected to 190.43.16.98.\r\nEscape character is '^]'.\r\nConnection closed by foreign host.\r\n"
  6. expect: spawn id exp22 not open
  7.     while executing
  8. "expect "Password:""
  9.     ("foreach" body line 29)
  10.     invoked from within
  11. "foreach ip $ip_list {
  12.        if {$ip != ""} {
  13.                send_user "telnet to this host: $ip\n"
  14.  
  15.                # Connect
  16.                spawn..."
  17.     (file "./pre.exp" line 18)
Add Comment
Please, Sign In to add comment