How to obfuscate a shell script?

前端 未结 4 1141
生来不讨喜
生来不讨喜 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:07

    Obfuscation (which is what most people mean when they say they want a "binary" shell script) is a Bad Idea(TM) - Been there, done that. It doesn't provide any security against a determined programmer (they'd just trace the script to figure out what it's doing), and it makes it really, really hard to debug (which, possibly unless you're GreyCat, you will need to do. A lot.).

提交回复
热议问题