Paul, the script may run on other people's server which I do not have control over.
ITschak On Wed, Feb 8, 2017 at 11:00 PM, Paul Flint <fl...@flint.com> wrote: > Greetings Itschak, > > You could protect your bash source by the Unix permissions... > > I know it sound niaf, in this day and age with everyone havin root, but > thought it worth mentioning. > > Regards, > > Paul > > On Wed, 8 Feb 2017, Itschak naive wrote: > > Date: Wed, 8 Feb 2017 22:42:37 +0200 >> From: Itschak Mugzach <imugz...@gmail.com> >> Reply-To: i_mugz...@securiteam.co.il >> To: LINUX-390@VM.MARIST.EDU >> Subject: Re: SHC bash script compiler for Linux on z >> >> >> Hi Mark. >> >> my intent is to hide the code. I believe that most people wont invest time >> in trying to investigate it, but who knows. Any other laternative to >> protect bash code, or should I look into a different language? >> >> ITschak >> >> On Wed, Feb 8, 2017 at 10:27 PM, Mark Post <mp...@suse.com> wrote: >> >> On 2/8/2017 at 02:43 PM, Itschak Mugzach <imugz...@gmail.com> wrote: >>>>>> >>>>> I wonder if any of you tried this freeware. >>>> >>> >>> It's not freeware. It's licensed under the GNU GPL 3. Two extremely >>> different things. >>> >>> I was able to install it on >>>> Centos 7, but it seems that the makefile is not sutable for SUSE or SUSE >>>> for z.. Below is the make file. I replaced the CC with gcc but am not >>>> familier with the parms requires. >>>> >>> >>> I see various flavors of it in the openSUSE Build Service. Several of >>> them build packages for both openSUSE and SLES. >>> https://build.opensuse.org/search >>> >>> Looking at the description, I don't think it's going to do what you want. >>> It's not really a compiler, so there will be no performance boost from >>> using it. Since it encrypts and decrypts the original script and then >>> invokes it with the running system's version of the shell, it won't >>> provide >>> any real protection from people being able to look at and copy the >>> script. >>> (I would imagine anyone even remotely familiar with gdb would be able to >>> extract that with no problem.) >>> >>> What you want may be something entirely different, however, so it's up to >>> you. >>> >>> >>> Mark Post >>> >>> ---------------------------------------------------------------------- >>> For LINUX-390 subscribe / signoff / archive access instructions, >>> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or >>> visit >>> http://www.marist.edu/htbin/wlvindex?LINUX-390 >>> ---------------------------------------------------------------------- >>> For more information on Linux on System z, visit >>> http://wiki.linuxvm.org/ >>> >>> >> >> >> -- >> ITschak Mugzach >> *|** IronSphere Platform* *|** An IT GRC for Legacy systems* *| Automated >> Security Readiness Reviews (SRR) **|* >> >> ---------------------------------------------------------------------- >> For LINUX-390 subscribe / signoff / archive access instructions, >> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or >> visit >> http://www.marist.edu/htbin/wlvindex?LINUX-390 >> ---------------------------------------------------------------------- >> For more information on Linux on System z, visit >> http://wiki.linuxvm.org/ >> >> > Kindest Regards, > > > > ☮ Paul Flint > (802) 479-2360 Home > (802) 595-9365 Cell > > /************************************ > Based upon email reliability concerns, > please send an acknowledgement in response to this note. > > Paul Flint > 17 Averill Street > Barre, VT > 05641 > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- ITschak Mugzach *|** IronSphere Platform* *|** An IT GRC for Legacy systems* *| Automated Security Readiness Reviews (SRR) **|* ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/