运维网's Archiver
论坛
›
Shell/Powershell
› 第二天 SHELL及安全
封云亭
发表于 2018-8-22 10:55:17
第二天 SHELL及安全
#!/usr/bin/expect
#
spawn grub-md5-crypt
expect "Password:"
send "123123\r"
expect "Retype password:"
send "123123\r"
interact
或者
密码分两行echo
页:
[1]
查看完整版本:
第二天 SHELL及安全