使用 shc 加密 linux bash 脚本¶
安装 加密 参考 https://github.com/neurobin/shc
安装¶
apt-get -y install autoconf automake libtool
apt-get -y install gcc automake autoconf libtool make
wget https://github.com/neurobin/shc/archive/refs/tags/4.0.3.zip
unzip 4.0.3.zip
rm -rf 4.0.3.zip
cd shc-4.0.3
mkdir m4
./autogen.sh
./configure
make
make install
加密¶
shc -v -r -f shell.sh