Log in

Bekijk de volledige versie : how to Encrypt a shell script ?



ffrr
21-08-2010, 10:36
I know shc can Encrypt a shell script.

The Encrypted shell script can execute well ,and can't be seen the source code with vim

But the problem is that I can't find shc in ipkg to Encrypt a shell script.

Is there other way to Encrypt a shell script ?

Please Help me ,thank you

ffrr
25-08-2010, 18:16
I find a temporary solution by use shc

It not fully encrypt, the process can be seen by using "ps"

Anyone has a better solution ??



#run the encrypted script
$ ./test.sh.x

#encrypt a shell script
$ ./shc -r -f test.sh