 #!/usr/bin/expect
 
-;# $Id:$
+;# $Id$
 
 set send_slow {10 .01}
 set timeout 60

  exit
} 


match_max 50000000

set filelist [lindex $argv 0]
set fp [open $filelist r]


  set error 0

  send_user "\[+\] $host - "


  spawn ssh -oControlMaster=auto -oLoglevel=ERROR $username@$host
 
  expect timeout {
    send_user "connection timeout\n"
    close
    continue 
  } eof {
    send_user "connection interrupted\n"
    continue
  } "Permission denied, please try again." {
    send_user " wrong credentials\n"
    continue 
  } "assword:" {
    send -s "$password\r"
    exp_continue
