<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to convert bash scripts into binary's, so no one can read it in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128458#M495502</link>
    <description>Hi (again) Abii:&lt;BR /&gt;&lt;BR /&gt;...and if you should want to use the GNU gcc compiler, you can obtain it free from either:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Jan 2008 02:06:38 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-01-14T02:06:38Z</dc:date>
    <item>
      <title>How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128451#M495495</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Can you please help me to create a binary file for a bash script, I need step by step procedure for doing this .....decent points assured for helpfull answers ..Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Abi</description>
      <pubDate>Sun, 13 Jan 2008 08:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128451#M495495</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-13T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128452#M495496</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;THis is what is commonly called&lt;BR /&gt;security through obscurity. Most&lt;BR /&gt;of those binary converters can be broken.&lt;BR /&gt;&lt;BR /&gt;Anyway, one of the most popular ones&lt;BR /&gt;is Generic Shell Script Converter:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://directory.fsf.org/project/shc/" target="_blank"&gt;http://directory.fsf.org/project/shc/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or go directly to it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.datsi.fi.upm.es/~frosal/" target="_blank"&gt;http://www.datsi.fi.upm.es/~frosal/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Easy to use. Its current version is 3.8.6.&lt;BR /&gt;Typical install:&lt;BR /&gt;&lt;BR /&gt;make test&lt;BR /&gt;make strings&lt;BR /&gt;make install&lt;BR /&gt;&lt;BR /&gt;One example of usage:&lt;BR /&gt;&lt;BR /&gt;shc -r -T -f myscript&lt;BR /&gt;&lt;BR /&gt;C complier is required to compile this utility.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sun, 13 Jan 2008 09:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128452#M495496</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-01-13T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128453#M495497</link>
      <description>Hi Dusan,&lt;BR /&gt;&lt;BR /&gt;If have tried what you said ,but I am getting the below error .Please let me know where I am wrong .&lt;BR /&gt;&lt;BR /&gt;FYI:- SHC has been installed .&lt;BR /&gt;&lt;BR /&gt;root@hp:/var/abi/c/shc-3.7# ls&lt;BR /&gt;CHANGES     c2s.sed     s2c.sed     shc.c       test.csh&lt;BR /&gt;Copying     match       shc.1       shc.html&lt;BR /&gt;Makefile    pru.sh      shc.README  test.bash&lt;BR /&gt;root@hp:/var/abi/c/shc-3.7# make test&lt;BR /&gt;        cc -Wall -O6 -pedantic  -o shc&lt;BR /&gt;(Bundled) cc: error 1914: bad form for `-W' option&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2008 15:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128453#M495497</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-13T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128454#M495498</link>
      <description>I rather doubt that you are going to be able to compile this utility using the Bundled C compiler. It is intended for building kernels and only understands K&amp;amp;R syntax. You probably need to install aCC (purchased) or gcc (free).&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2008 16:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128454#M495498</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-13T16:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128455#M495499</link>
      <description>Hi Clay ,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice , I will install ac++ developer bundle tomorrow and update you .&lt;BR /&gt;&lt;BR /&gt;Abi</description>
      <pubDate>Sun, 13 Jan 2008 16:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128455#M495499</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-13T16:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128456#M495500</link>
      <description>Hi Abi:&lt;BR /&gt;&lt;BR /&gt;My first thought is the same as Dusan's.  My curiosity is up.&lt;BR /&gt;&lt;BR /&gt;I might guess that you don't work for a vendor who has and uses the tool about which you asked.&lt;BR /&gt;&lt;BR /&gt;I might guess that you're a free-lance consultant who would like to make sure that any modifications your client might want to the shell you have provided requires them to come back (pay?) you.&lt;BR /&gt;&lt;BR /&gt;Are you trying to hide the (human) readability of the code because it has a password buried in it?  There are better ways.&lt;BR /&gt;&lt;BR /&gt;Are you writing a shell script and trying to make it a 'setuid' script?  There are ways to implement this without resort to translating shell into binary (C) code.&lt;BR /&gt;&lt;BR /&gt;Since you responded that you were going to install the HP-UX C/aC++ bundle I assume that you are going to pay for the full version since the evaluation copy will expire leaving you high-and-dry when you want to change your shell script.&lt;BR /&gt;&lt;BR /&gt;Frankly, I'd ask you, "What problem are you trying to solve?"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 13 Jan 2008 18:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128456#M495500</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-13T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128457#M495501</link>
      <description>&amp;gt;but I am getting the below error&lt;BR /&gt;cc -Wall -O6 -pedantic -o shc&lt;BR /&gt;(Bundled) cc: error 1914: bad form for `-W' option&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Clay: I rather doubt that you are going to be able to compile this utility using the Bundled C compiler.&lt;BR /&gt;&lt;BR /&gt;We don't know because the above error is related to using gcc options that HP's IPF compiler doesn't allow.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I will install aC++ developer bundle tomorrow&lt;BR /&gt;&lt;BR /&gt;You will have to remove these gcc options: -Wall -O6 -pedantic</description>
      <pubDate>Mon, 14 Jan 2008 01:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128457#M495501</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-14T01:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128458#M495502</link>
      <description>Hi (again) Abii:&lt;BR /&gt;&lt;BR /&gt;...and if you should want to use the GNU gcc compiler, you can obtain it free from either:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 02:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128458#M495502</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-14T02:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128459#M495503</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Sorry ,let me clear about my requirement.&lt;BR /&gt;&lt;BR /&gt;I need to convert my Unix shell script file to binary file.&lt;BR /&gt;&lt;BR /&gt;Clay ,&lt;BR /&gt;I have installed C developers bundle and gcc too ,still am getting the below error while doing make &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;fyi:-&lt;BR /&gt;&lt;BR /&gt;# pwd&lt;BR /&gt;/var/abi/shc/shc-3.8.6&lt;BR /&gt;# ls&lt;BR /&gt;CHANGES     Makefile    pru.sh      shc.1       shc.c       test.bash&lt;BR /&gt;Copying     match       shc         shc.README  shc.html    test.csh&lt;BR /&gt;&lt;BR /&gt;# make test&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;/usr/bin/sh: ./shc: Execute permission denied.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;# swlist |grep -e aC++ -e gcc&lt;BR /&gt;  B9007AA               C.11.23.12     HP C/aC++ Developer's Bundle&lt;BR /&gt;  gcc                   4.2.2          gcc&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please help me to resolve this issue at the earliest &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abi</description>
      <pubDate>Mon, 14 Jan 2008 07:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128459#M495503</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-14T07:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128460#M495504</link>
      <description>&amp;gt;I need to convert my Unix shell script file to binary file.&lt;BR /&gt;&lt;BR /&gt;(You still haven't said why.)&lt;BR /&gt;&lt;BR /&gt;CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;sh: ./shc: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;Was this the gcc or cc run?&lt;BR /&gt;Is shc executable?&lt;BR /&gt;You'll probably have to do a clean and then show all errors.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 08:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128460#M495504</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-14T08:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128461#M495505</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(You still haven't said why.)&lt;BR /&gt;&lt;BR /&gt;I don`t want others to view/modify  the shell script contents.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Was this the gcc or cc run?&lt;BR /&gt;&lt;BR /&gt;I belive it is cc ,Makefile has been attached along with reply&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is shc executable?&lt;BR /&gt;&lt;BR /&gt;I couldn`t find shc executable file in directory ,but shc.c and shc.1 is available&lt;BR /&gt;&lt;BR /&gt;# pwd;ls shc;ls -l&lt;BR /&gt;/var/abi/shc1/shc-3.7&lt;BR /&gt;shc not found&lt;BR /&gt;total 272&lt;BR /&gt;-rwxrwxr-x   1 root       sys           2474 Jun 18  2003 CHANGES&lt;BR /&gt;-rwxrwxr-x   1 root       sys          17982 May  9  1996 Copying&lt;BR /&gt;-rwxrwxr-x   1 root       sys           1564 Jan 14 12:00 Makefile&lt;BR /&gt;-rwxrwxr-x   1 root       sys            256 Apr 16  2002 c2s.sed&lt;BR /&gt;-rwxrwxr-x   1 root       sys            336 Feb 21  2003 match&lt;BR /&gt;-rwxrwxr-x   1 root       sys            155 Jun 19  2003 pru.sh&lt;BR /&gt;-rwxrwxr-x   1 root       sys            325 Apr 16  2002 s2c.sed&lt;BR /&gt;-rwxrwxr-x   1 root       sys           3136 Jun 19  2003 shc.1&lt;BR /&gt;-rwxrwxr-x   1 root       sys           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rwxrwxr-x   1 root       sys          21437 Jun 19  2003 shc.c&lt;BR /&gt;-rwxrwxr-x   1 root       sys           3796 Jun 19  2003 shc.html&lt;BR /&gt;-rwxrwxr-x   1 root       sys            138 Feb 21  2003 test.bash&lt;BR /&gt;-rwxrwxr-x   1 root       sys             52 Jun 19  2003 test.csh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 09:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128461#M495505</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-14T09:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128462#M495506</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;I apologize for the wrong reply for the 3rd query , please forgive me and have the correct reply &lt;BR /&gt;&lt;BR /&gt;Is shc executable?&lt;BR /&gt;-rwxr-xr-x   1 root       sys          39767 Jul 10  2006 shc&lt;BR /&gt;&lt;BR /&gt;for more information :-&lt;BR /&gt;&lt;BR /&gt;# pwd;ls -l;file shc&lt;BR /&gt;/var/abi/shc/shc-3.8.6&lt;BR /&gt;total 336&lt;BR /&gt;-rw-r--r--   1 root       sys           3549 Jul 10  2006 CHANGES&lt;BR /&gt;-rw-r-----   1 root       sys          17982 May  9  1996 Copying&lt;BR /&gt;-rw-r-----   1 root       sys           1525 Jun 16  2005 Makefile&lt;BR /&gt;-rwxr-x---   1 root       sys            336 Feb 21  2003 match&lt;BR /&gt;-rwxr-x---   1 root       sys            155 Jun 19  2003 pru.sh&lt;BR /&gt;-rwxr-xr-x   1 root       sys          39767 Jul 10  2006 shc&lt;BR /&gt;-rw-r-----   1 root       sys           3136 Jul  8  2004 shc.1&lt;BR /&gt;-rw-r-----   1 root       sys           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rw-r-----   1 root       sys          24715 Jul 10  2006 shc.c&lt;BR /&gt;-rw-r-----   1 root       sys           4558 Jul  8  2004 shc.html&lt;BR /&gt;-rwxr-xr-x   1 root       sys            138 Nov 12  2004 test.bash&lt;BR /&gt;-rwxr-x---   1 root       sys             52 Jun 19  2003 test.csh&lt;BR /&gt;&lt;BR /&gt;shc:            ELF-32 executable object file&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abi&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 09:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128462#M495506</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-14T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128463#M495507</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Let me try to help.&lt;BR /&gt;&lt;BR /&gt;I did not see you setting environment variable&lt;BR /&gt;CC to gcc or HP-UX acc.&lt;BR /&gt;&lt;BR /&gt;You should firstly set it up and then&lt;BR /&gt;try to compile cleanly.&lt;BR /&gt;&lt;BR /&gt;If you are going to use GCC, then set &lt;BR /&gt;&lt;BR /&gt;CC=/usr/local/bin/gcc&lt;BR /&gt;(or wherever your gcc binary is)&lt;BR /&gt;&lt;BR /&gt;Leave Makefile as it is because&lt;BR /&gt;it will use the last definition for:&lt;BR /&gt;&lt;BR /&gt;# For GNU C compiler&lt;BR /&gt;CFLAGS = -Wall -O6 -pedantic&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On the other hand, if you intend to use&lt;BR /&gt;acc, the set CC accordingly and&lt;BR /&gt;then comment out ALL but the following CFLAGS&lt;BR /&gt;line:&lt;BR /&gt;&lt;BR /&gt;# For HPUX&lt;BR /&gt;CFLAGS = -Wall -O -Ae&lt;BR /&gt;&lt;BR /&gt;I am not at my desk so I cannot check it&lt;BR /&gt;at the moment. But try this and let us know.&lt;BR /&gt;&lt;BR /&gt;Interesting enough, I just found out&lt;BR /&gt;HP-UX Porting and Archive Centre &lt;BR /&gt;SHC bundles for a very old version of the&lt;BR /&gt;O/S and shc:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Shells/shc-2.4a/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Shells/shc-2.4a/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If there is enough interest, we could send an&lt;BR /&gt;email to the porting guys asking for&lt;BR /&gt;an updated version :)&lt;BR /&gt;&lt;BR /&gt;Frankly, I would never advise anyone&lt;BR /&gt;to convert Shell script into binary.&lt;BR /&gt;No real benefits are achieved.&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Mon, 14 Jan 2008 09:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128463#M495507</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-01-14T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128464#M495508</link>
      <description>&amp;gt;I believe it is cc, Makefile has been attached &lt;BR /&gt;&lt;BR /&gt;Yes, cc, so those CFLAGS aren't valid.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is shc executable?&lt;BR /&gt;-rwxr-xr-x  Jul 10 2006 shc&lt;BR /&gt;&lt;BR /&gt;It shouldn't have this old date.  It is probably for some foreign devil hardware.  What does "file shc" show?&lt;BR /&gt;Try a "make cleanall".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;VK2COT: if you intend to use HP's C compiler, ... and then comment out ALL but the following CFLAGS line:&lt;BR /&gt;# For HPUX&lt;BR /&gt;CFLAGS = -Wall -O -Ae&lt;BR /&gt;&lt;BR /&gt;No, this line is still garbage.  You need  "-Ae -O +wlint".&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 10:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128464#M495508</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-14T10:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128465#M495509</link>
      <description>&amp;gt;ME: What does "file shc" show?&lt;BR /&gt;&lt;BR /&gt;Sorry, it looks like you did this:&lt;BR /&gt;shc: ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;So it should run and not get that error, since you are on IPF.&lt;BR /&gt;You still could cleanall and make everything.</description>
      <pubDate>Mon, 14 Jan 2008 10:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128465#M495509</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-14T10:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128466#M495510</link>
      <description>Hi Dusan/Dennis ,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice , I will confirm you back on tomorrow &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abi</description>
      <pubDate>Mon, 14 Jan 2008 13:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128466#M495510</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-14T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128467#M495511</link>
      <description>i notice that you keep answering the question "why you are trying to do this" with "what you are trying to do".&lt;BR /&gt;&lt;BR /&gt;as noted above, if we knew the "why" then there may be better methods of accomplishing it then obfuscating the script.</description>
      <pubDate>Mon, 14 Jan 2008 15:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128467#M495511</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-01-14T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128468#M495512</link>
      <description>Hi Oldschool,&lt;BR /&gt;&lt;BR /&gt;Why you are trying to do this ?&lt;BR /&gt;&lt;BR /&gt;I want to encrypt the script ( health check script) and execute the same in many servers by copying the script.&lt;BR /&gt;&lt;BR /&gt;I tried crypt command ,but its not encoding well ,so I feel better to compile the script and copy to many customer site. If you can suggest better method than this its really help full for me and well appreciated .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abi&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2008 06:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128468#M495512</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-15T06:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128469#M495513</link>
      <description>Hi Dusan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your helping mind.&lt;BR /&gt;&lt;BR /&gt;I tried what you said,but sorry to say I couldn`t succeed.Please have the below error and steps which I have performed.&lt;BR /&gt;&lt;BR /&gt;# echo $CC&lt;BR /&gt;/usr/local/bin/gcc&lt;BR /&gt;# ldd /usr/local/bin/gcc&lt;BR /&gt;        libintl.so =&amp;gt;   /usr/local/lib/hpux32/libintl.so&lt;BR /&gt;        libc.so.1 =&amp;gt;    /usr/lib/hpux32/libc.so.1&lt;BR /&gt;        libiconv.so =&amp;gt;  /opt/gtk2.6/lib/libiconv.so&lt;BR /&gt;        libc.so.1 =&amp;gt;    /usr/lib/hpux32/libc.so.1&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux32/libdl.so.1&lt;BR /&gt;# make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;# make test&lt;BR /&gt;        /usr/local/bin/gcc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;shc shll=sh&lt;BR /&gt;shc [-i]=-c&lt;BR /&gt;shc [-x]=exec '%s' "$@"&lt;BR /&gt;shc [-l]=&lt;BR /&gt;shc opts=&lt;BR /&gt;shc: /usr/local/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x&lt;BR /&gt;match.x.c:108: warning: string length '975' is greater than the length '509' ISO C90 compilers are required to support&lt;BR /&gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:289: error: too few arguments to function 'ptrace'&lt;BR /&gt;./shc: Error 0&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2008 07:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128469#M495513</guid>
      <dc:creator>Abii</dc:creator>
      <dc:date>2008-01-15T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert bash scripts into binary's, so no one can read it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128470#M495514</link>
      <description>&amp;gt;I couldn't succeed. Please have the below error and steps which I have performed.&lt;BR /&gt;&lt;BR /&gt;(I only know and support cc, not gcc.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:289: error: too few arguments to function 'ptrace'&lt;BR /&gt;&lt;BR /&gt;This indicates you don't have have enough args for ptrace.&lt;BR /&gt;If this is ptrace(2), this isn't supported on IPF.  See the man page.&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:06:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-convert-bash-scripts-into-binary-s-so-no-one-can-read-it/m-p/4128470#M495514</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-15T08:06:45Z</dc:date>
    </item>
  </channel>
</rss>

