mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
12 lines
179 B
Plaintext
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;
|