如何对shell脚本进行加密且不影响脚本运行
利用 gzexe
优点:自带、快速
缺点:容易破解,不能暴露源文件
# 加密 gzexe l.sh # 解密 gzexe -d l.sh
利用 shc
优点:安全性稍好
缺点:性能较差
shc -T -f l.sh