A tool  for encrytion of bash shell scripts .

Install:

wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz
.tgz
cd shc-
mkdir -p /usr/local/man/man1/       #this is necessary.
make install

create one bash script, content follows:

#!/bin/bash
echo "hello ITDHZ.COM"

Testing it:

shell > shc -r -f -T .sh    # '-T' used for outputing information, created by echo commd.
shell > ls
...sh.x.c

As you see, two new file were created, 'XX.x' is the executable file, and the 'XX.x.c' is the C source file.

by the way , you cann't run the executable file by using like this: '/bin/bash xx.x' ,  './xx.x' is the only right way.

shell > ./.sh.x

Besides, you can also set the expiration time and expiration description for the binary file, as follows:

shell > shc -r -T -e .sh
shell > ./.sh.x
./.sh.x: has expired!
this file is expiration date.

最新文章

  1. ajax容易忽视的细节
  2. yii2 数据导出 excel导出以及导出数据时列超过26列时解决办法
  3. hihoCoder #1164 随机斐波那契
  4. [Angularjs]常见api函数
  5. PHP去除BOM头的方法
  6. biji001
  7. HTML5 FileReader读取Blob对象API详解
  8. 第一个 Python 程序 - Email Manager Demo
  9. 淘淘商城_day07_课堂笔记
  10. Mac_OS_Sierra_10.12.6编译OpenJDK9
  11. TCP连接建立系列 — 服务端接收SYN段
  12. 24G的SSD有什么用
  13. JSP_tomcat_mysql_注冊验证用户;
  14. 实验一:基于STM32F1的流水灯实验(库函数)
  15. spark-shell下有提示了,但是发现不能退格
  16. 爬虫--urllib模块
  17. 在CentOS7上部署 Kubernetes集群
  18. kong k8s 安装 以及可视化管理界面
  19. JS 对象的操作方法
  20. 搜索 || DFS || UOJ 146 信息传递

热门文章

  1. PHP中的数据库二、memcache
  2. Windows Installer 服务启动错误 14007 的解决办法
  3. hibernate关联映射
  4. openwrt下部署adbyby去广告大师 免luci 带自启动,自动开启透明代理
  5. 占位符行为 PlaceHolderBehavior 的实现以及使用
  6. NPOI操作EXCEL(三)——反射机制进行excel表格数据的解析
  7. Android样式和主题
  8. Android Studio导入项目慢的问题
  9. OpenCV二值图像孔洞填充的一个简单方法
  10. import renumber.py in pymol