unix script

Dear,

how can i encrypt a UNIX script to .exe for exemple (not readable).

Thanks for HELP.

Hi,

If you do not want someone to read the script, then why can't you try removing the read permission of the script file?

bcz scripts are created with root user

you cannot

did you mean,

renaming the file
setting perms such that it is not readable
converting script to binary (.exe )

Could you please be specific ? :slight_smile:

Yes, converting the .sh file to .exe not readable file (binary)

As pointed by bigearsbilly ,
I dont think its possible to convert a shell script to 32 bit LSB executable

Am not sure of that!

a very long time ago, i used shell script compiler . you can check it out.

You can use "crypt" command and make it "key" protected.

this method requires to store the key somewhere. now we need to find out to secure this "key".

True. What better place than the "mind" :slight_smile: