Can’t find usable shell script encryption solution…

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

It sounds a bit cheesy but I can't find any usable solution on how to encrypt Linux/Unix shell script in order to protect it’s source code when it’s still executable.

There was a post here about how to protect shell scripts, but I found SHC bug. Just run script that is encrypted with shc and execute command ps ax and you'll see full source code at ps’s output (newline characters will be replaced with "?" symbol). Because of this fact I can't use SHC anymore and looking for alternative solution.

It would be very appreciated if you suggest a way how to solve the issue. THANK YOU, mates.

Please follow up with this thread on linuxforums.org.

Share This
Related posts:
Web server oneliner with bash
Encryption files with GPG without user intervention (batch)
Find out where Unix/Linux executable binary is located
Eject/Close CD or DVD media with shell command
Automatic "zombie" processes killing (shell script)
 
 
 
Your Ad Here


5 Responses to “Can’t find usable shell script encryption solution…”


  1. 1 artiomix

    Thank you in advance…

  2. 2 UnixFan

    Probably wzshSDK is the only one which can do the job.

  3. 3 artiomix

    Thanks, UnixFan! I'll try it and post the results here..

  4. 4 artiomix

    UnixFan, it seems that wzshSDK is no longer maintained and I didn't find a way to get and try it :( I've written an e-mail to the author and still wait for his reply. Help is still appreciated ;)

  5. 5 artiomix

    Update regarding wzshSDK: author’s e-mail address is unavailable (my e-mail can't be delivered to it). No luck today…

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word