![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 10:55 AM |
| Difference between writing Unix Shell script and AIX Shell Scripts | haroonec | AIX | 0 | 04-11-2006 11:27 PM |
| How to run unix commands in a new shell inside a shell script? | hkapil | Shell Programming and Scripting | 2 | 01-04-2006 03:56 AM |
| how to encript password in .netrc file | getgopu25 | Shell Programming and Scripting | 1 | 06-13-2005 04:16 AM |
| simple shell - how to get a parameter typed in a shell script | cmitulescu | Shell Programming and Scripting | 3 | 12-05-2001 12:04 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to encript a shell
I have a unix shell, there is a way to encript the whole shell, and be able to run the encripted shell, so I can give my client the encripted shell, and he can't see the code I wrote?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Shell scripts can not be encrypted and run from the encrypted state.
|
|
#3
|
|||
|
|||
|
and there is a trick to do it? I meant to have a shell, but hide the code?
|
|
#4
|
|||
|
|||
|
I think that you misunderstood me.
You can encrypt a shell script but, once it is encrypted, you can not execute it unless you decrypt it. This, therefore, means that the script is still unsecure and your client will be able to view your code if he's determined to. All he has to do is read the decrypted script while it is running. |
|
#5
|
|||
|
|||
|
Sorry, I can make the answer simpler. If you want the code hidden, you have to control it at the Unix read/write/execute file security level. If your client owns the system, he'll be able to gain whatever access he needs to so he can view the code.
The short answer to your question is that you will not be able to prevent him from viewing your script. |
|
#6
|
||||
|
||||
|
There is a trick you can use to hide the code of a script: just use gzexe.
|
|
#7
|
|||
|
|||
|
But it is only superficially hidden since gzexe -d brings it back to a decompressed state.
|
|||
| Google The UNIX and Linux Forums |