zoukankan      html  css  js  c++  java
  • shc命令

    今天在公司看到业务系统有一个query、viewtx 等等命令。虽然不知道是什么语言写的,但是里边内容是看不到的。

    如果是编译型语言这样的结果 我并不奇怪。但是如果我们写了一个shell脚本 如果加密脚本内容,不让其他人看到呢?


    shc -r -f 要加密的shell脚本文件名称

    结果会生成两个文件

    [root@node2 scripts]# ls
    check_command.sh
    [root@node2 scripts]# shc -r -f check_command.sh 
    [root@node2 scripts]# ls
    check_command.sh  check_command.sh.x  check_command.sh.x.c

      

    加密后的文件 不影响运行

     

  • 相关阅读:
    apt-get
    微博
    字符串操作
    fly
    Oracle数据库只Dual表
    如何配置一个Oracle服务
    排序算法
    排序算法
    排序算法
    ArcEngine几个空间操作
  • 原文地址:https://www.cnblogs.com/pangbing/p/13991688.html
Copyright © 2011-2022 走看看