|
|
第 16 帖 | |
|
|
不知道是否可以用c的system来调用shell,这样不知道是否可以行?
__________________
碧轩 Blog: http://www.ourlinux.net http://bixuan.51.com yum && apt Repository: http://apt.ourlinux.net arch Repository: http://download.ourlinux.net/Linux/ArchLinux/ MSN:jhxjh[#]hotmail.com GTK:bixuan[#]gmail.com |
|
|
|
|
|
|
|
第 17 帖 | |
|
|
这样的话和调用没有区别
不如直接加上执行权限简便
__________________
Blog: http://www.pixel-white.com Source Repo: http://github.com/Iacob |
|
|
|
|
|
|
|
第 18 帖 | |
|
|
呵呵,编译毕竟和明文的shell好点了
![]() |
|
|
|
|
|
|
|
第 19 帖 | |
|
|
标题: shc 搜一下这个工具啊,我想在找他的反编译工具呢 shc是一个加密shell脚本的工具.它的作用是把shell脚本转换为一个可执行的二进制文件.
用shell脚本对系统进行自动化维护,简单,便捷而且可移植性好. 但shell脚本是可读写的,很有可能会泄露敏感信息,如用户名,密码,路径,IP等. 同样,在shell脚本运行时会也泄露敏感信息. shc是一个加密shell脚本的工具.它的作用是把shell脚本转换为一个可执行的二进制文件. 这就很好的解决了上述问题. shc的下载地址: linux/shc-3.8.tgz">http://www.anyside.com/linux/shc-3.8.tgz http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.tgz 安装: tar zxvf shc-3.8.tgz cd shc-3.8 make test make make test make strings make install 这一步需要root权限 使用方法: shc -r -f script-name 注意:要有-r选项, -f 后跟要加密的脚本名. 运行后会生成两个文件,script-name.x 和 script-name.x.c script-name.x是加密后的可执行的二进制文件. ./script-name 即可运行. script-name.x.c是生成script-name.x的原文件(c语言) |
|
|
|
|
|
|
|
第 20 帖 | |
|
|
good tool shc
|
|
|
|
|
|