Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    convert shell script to binary format


    Need to convert a shell script to a binary executable form,so that script is 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 .

    Is there any alternative method in cygwin.

    Thanks in advance

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    i'm about 95% certain that what your asking is imposible. If your trying to keep people from altering your code, it's better to just set strict permisions, and inform people not to mess with it. If your trying to keep your source a secret, then i'm 99% sure that even if you could make it binary, it would be posible to turn it back ( I know perl can be, and it's pretty similar to bash in regards to interpritation)
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Newbie
    Join Date
    Jan 2008
    Even if it is Binary executable form it can be reverse engineered, as meton_magis said permissions are probably the best way to go that is simple and enforcable.


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts