![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Security Anything involving computer security goes here. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft Security Advisory (912945): Non-Security Update for Internet Explorer - 6/1 | iBot | Security Advisories (RSS) - Microsoft | 0 | 04-06-2008 01:50 AM |
| Microsoft Security Advisory (910550): Macromedia Security Bulletin: MPSB05-07 Flash P | iBot | Security Advisories (RSS) - Microsoft | 0 | 04-06-2008 01:50 AM |
| Microsoft Security Advisory (910550): Macromedia Security Bulletin: MPSB05-07 Flash P | iBot | Security Advisories (RSS) - Microsoft | 0 | 12-24-2007 06:00 AM |
| Trustix Secure Linux Security Advisory - bind, clamav, curl ... - Help Net Security | iBot | UNIX and Linux RSS News | 0 | 07-30-2007 03:40 AM |
| Script security | schip074 | UNIX for Dummies Questions & Answers | 2 | 05-07-2001 10:28 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Script Security
Hi there,
I 've created some scrips which I want to wrap them so that the client won't be able to see any of the code. I 've tried to use "shc" compiler but unfortunately when the script is running and I do "ps -ef" I can see all the code there. Is there a way that I can overcome this? Thanks |
| Forum Sponsor | ||
|
|
|
||||
|
Are you looking for shell script obfuscator ?
|
|
|||
|
Quote:
|
|
|||
|
You shouldn't be seeing the script with ps but you will see command line arguments and environment variables as they are used.
Alas, for "sh" to execute your script it needs to be able to read it. However you could set up your own shell where all the scripts are owned by some obscure user, and the shell is a set-uid process that flips to that user. But then that user would not have the same rights as the current user. But you would still need little wrappers... Code:
#!/bin/sh exec /my/magic/shell /some/hidden/shell/script.sh $@ |
|||
| Google UNIX.COM |