websoft9/apps/roles/bt/files/en-password.exp
2022-11-08 08:52:30 +08:00

12 lines
179 B
Plaintext

#!/usr/bin/expect -f
set timeout 30
spawn /usr/bin/bt
expect "command number"
send "5\r"
expect "new password"
send "123456\r"
#interact
expect eof
catch wait result;