websoft9/apps/roles/bt/files/zh-password.exp
2022-11-08 08:53:45 +08:00

11 lines
172 B
Plaintext

#!/usr/bin/expect -f
set timeout 30
spawn /usr/bin/bt
expect "请输入命令编号"
send "5\r"
expect "请输入新的面板密码"
send "admin123\r"
interact
expect eof