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

12 lines
181 B
Plaintext

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