Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

decode or encrypt a script

Status
Not open for further replies.

moniema

IS-IT--Management
Apr 20, 2003
19
0
0
SD
Hello
Dear friends

I have some scripts that I generated and want to hide thier contents without any effect on thier functionality so no one wil misuse them.

ur fast promp is appreciated.

moniema
 
Hello

I tried the shc but I when I ran make an error came out :
/usr/ucb/cc: language optional software package not installed
pls advise
 
moniema,

What about ROT-13? You would have to call the scripts with a script to decode them, but that may be a possible solution.

If you do a search on Google, you should see a lot of results.

ROT-13

To encode: tr '[A-M][N-Z][a-m][n-z]' '[N-Z][A-M][n-z][a-m]'

To decode: tr '[N-Z][A-M][n-z][a-m]' '[A-M][N-Z][a-m][n-z]'

Hope this helps.

John
 
You can download an eval copy of SHELL-LOCK from Lone Star Software.
 
@moniema

which OS do you run? I guess it's Solaris, there is no usable cc in /usr/ucb; I recommend to install gcc from sunfreeware.com

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top