Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    1

    Unanswered: encrypt bash shell script

    Dear all

    I want to encrypt my shell script so that user can only execute it but not view/edit. I m using bash shell.
    Please send me ur kind solution

    Regards

    jewel

  2. #2
    Join Date
    Sep 2009
    Location
    Ontario
    Posts
    1,057
    Provided Answers: 1
    There isn't a solution. The script is interpreted and must be readable by the user. There are products that can obfuscate the script. You can also try shcomp (included with ksh93) to compile the script. It will not prevent a sophisticated user from decompiling it though. KornShell

Posting Permissions

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