Well, there’s been a few times that I’ve written a shell script that was really neat. Something that other people would have paid for a copy of. (I was too lazy to rewrite it in another language.) Up until now, I wasn’t aware you could compile a shell script, in the attempts from keeping people from pirating your work. Apparently I’ve head my head stuck in the sand.
Here’s the link to the manual page for it: shc
Here’s the link to the tool: shc.tgz
I’ve tried this with bash and sh scripts, it seems to work great.
Also, before you think that it’s 100% secure (nothing really is) there’s already been a audit of the process, and an auditor was able to decompile the original script from the encrypted binary. Source
{ 1 trackback }