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
 
 
» You might also be interested in the following articles:
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)



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!


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




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | LinuxHaxor.net | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
CyberCapital.Org | G-LOADED! | The Linux Alternative Project
My name is Artem Nosulchik (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››