How to obfuscate a shell script?

前端 未结 4 1123
生来不讨喜
生来不讨喜 2020-12-20 07:26

I am using Ubuntu 10.04. i have created a shell script. After writing the script, the code can be edited when right clicking the file and selecting Gedit. I want to know how

4条回答
  •  执笔经年
    2020-12-20 08:08

    You are probably looking for something like shc. From the man page:

    shc creates a stripped binary executable version of the script specified with -f on the command line.

    http://freecode.com/projects/shc

    Disclaimer: I have not tested shc nor do I know how well/if it works

提交回复
热议问题