converter - Is it possible to convert a bash script into an executable? -


the question simple; possible convert bash script executable? , if is, how can done?

it's possible, don't want to.

  • it won't effective obfuscation.
  • it won't smaller.
  • it won't faster.

it won't smaller

in places support compiling script standalone executable available, done putting copy of interpreter executable. is, thus, larger script alone.

it won't faster

the execution model used bash, unfortunately, innately slow: functionality provided external commands; , simple commands' arguments, or names, can modified result of expansion operations. level of dynamicism makes effective compilation performance impossible. (zsh supports precompilation process, benefit limited, process of parsing itself).

it won't effective obfuscation

take shc, instance: literally passes script's original source command-line argument. thus, source can read reading command-line arguments out of /proc, or using strace.

as say, "security obscurity no security @ all" -- who's reasonably competent trivially extract passwords or other content obfuscated in way.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -