banner
NEWS LETTER

Shell脚本加密Shc

Scroll down

本文作者:丁辉

官方下载地址

Shell脚本加密Shc

Shc源码部署

  1. 下载

    1
    wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9b.tgz
  2. 解压

    1
    tar -zxvf shc-*.tgz && cd shc-*
  3. 安装 gcc 和 make 后编译

    1
    make && mv shc /usr/local/bin/

Shc网络源部署

  • Centos安装

    1
    yum -y install shc
  • Ubuntu安装

    1
    apt -y install shc

shc参数

参数 解释 使用示例
-e 指定过期时间 shc -e 06/09/2023 -f demo.sh
-m 过期后打印出的信息 shc -e 06/09/2023 -m “File is expired” -f demo.sh
-v 输出verbose 过程信息 shc -v -f demo.sh
-r 可在相同操作系统的不同主机上执行 shc -r demo.sh
-f 指定源shell shc -f demo.sh

I'm so cute. Please give me money.

其他文章
cover
Git配置本地代理
  • 70/01/01
  • 00:00
  • Linux-Git
cover
Shell脚本集合记录
  • 70/01/01
  • 00:00
  • Linux-Shell
目录导航 置顶
  1. 1. Shell脚本加密Shc
    1. 1.1. Shc源码部署
    2. 1.2. Shc网络源部署
请输入关键词进行搜索