linux脚本加密方式,shell脚本加密

1 gzexe

假如有shell脚本woo.sh。

加密gzexewoo.sh

执行后生成:woo.sh woo.sh woo.sh~

解密 gzexe -d woo.sh

2 shc

1编译

官网:http://www.datsi.fi.upm.es/~frosal/

wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz

tar -zxvf shc-3.8.7.tgz

cd shc-3.8.7

mkdir -p /usr/local/man/man1/

make

make install

2使用

常用参数:

-e date

Expiration date in dd/mm/yyyy format [none](指定过期日期)

-m message

message to display upon expiration ["Please contact your provider"](指定过期提示的信息)

-f script_name

File name of the script to compile(指定要编译的shell的路径及文件名)

-r Relax security.

Make a redistributable binary which executes on different systems running the same operat-ing system.(可以相同操作系统的不同系统中执行)

-v Verbose compilation(编译的详细情况)

用法:shc -r -f script-name

例如:

shc -v -f abc.sh

问题

ps -ef |grep "xxx" 会显示脚本的内容。

总结

以上是编程之家为你收集整理的shell脚本加密全部内容,希望文章能够帮你解决shell脚本加密所遇到的程序开发问题。

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值