Results 1 to 3 of 3
Hi,
I want to convert a shell script to a binary executable so that the contents of the shell script are not readable and could not be altered .
I ...
- 06-27-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 1
convert shell script to binary file
Hi,
I want to convert a shell script to a binary executable so that the contents of the shell script are not readable and could not be altered .
I used shc (the shell script compiler) , but shc is not working in cygwin.
I am using Cygwin as the linux simulator .
Can anybody please help!
Regards,
- 06-27-2007 #2
You could just chmod 700 or something like that. If security is your issue, than that should solve it. Or chmod 711 if others do have to be able to execute the script, but not read/write it.
Can't tell an OS by it's GUI
- 06-27-2007 #3Just Joined!
- Join Date
- Jun 2007
- Location
- India
- Posts
- 16
A query here...
cygwin will have its 'bin' folder from which it launches all the executions right?
So how about copyin the executable for 'shc' into the 'bin' (i suppose for this u must b the root)...
Its just a flyin thought


Reply With Quote