shell加密为二进制可执行文件
2024-09-08 12:01:52
1.下载shc工具
http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz或者到http://www.datsi.fi.upm.es/~frosal/sources/目录下自行选择版本
wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz
2.下载后,解压并安装
yum -y install gcc gcc-c++
tar -xvf shc-3.8.9.tgz
由于会安装到/usr/local/man/man1下面,所以新建如下:
mkdir -p /usr/local/man/man1
cd shc-3.8.9
make install
提示的时候输入 y 即可安装成功
3.使用
shc -r -f lua文件
shc -r -f ceshi.lua
会产生三个文件
ceshi.lua.x ceshi.lua.x.c ceshi.lua
留下二进制文件 ceshi.lua.x 其它两个删除
lua < ceshi.lua.x 即可测试执行
最新文章
- 学习笔记:Java的一些基础小知识之JVM与GC
- oracle数据库字符集US7ASCII,在java中处理中文问题
- 关于input内容监听(change)
- 更新页面缓存OutputCache
- Decorator模式
- uva 11995 I Can Guess the Data Structure stack,queue,priority_queue
- configure交叉编译
- 《Java并发编程实战》第二章 线程安全 札记
- javascript第五章--函数表达式
- Springboot 系列(五)Spring Boot web 开发之静态资源和模版引擎
- ID 生成器
- Vue之小入门
- [转] node.js下mongoose简单操作实例
- jQuery-----隔行换色/全选全不选/
- IDEA如何刷新pom文件
- hdu1754splaytree区间查询
- Python内置模块:random,os,sys,和加密模块hashlib
- python中super的使用
- Hadoop1.1.2伪分布式安装
- The good life is one inspired by love and guided by knowledge