shc : 加密shell脚本工具
安装:
make
生成一个shc文件.即我们需要的可执行文件.
转移到$PATH路径下.
使用方法:
shc -r -f
会生成.x .x.c两个文件
.x就是我们需要的二进制可执行文件.执行效果和运行脚本一样
.x.c 是C语言的源代码.无视之.删掉
http://www.datsi.fi.upm.es/~frosal/
OPTIONS
The command line options are:
-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
-i inline_option
Inline option for the shell interpreter i.e: -e
-x comand
eXec command, as a printf format i.e:
exec(\\'%s\\',@ARGV);
-l last_option
Last shell option i.e: --
-r Relax security. Make a redistributable binary which
executes on different systems running the same operat-
ing system.
-v Verbose compilation
-D Switch on debug exec calls
-T Allow binary to be traceable (using strace, ptrace,
truss, etc.)
-C Display license and exit
-A Display abstract and exit
-h Display help and exit

















