Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

is it possible to compile shell script?

is it possible to compile a shell script or at least encrypt to avoid tampering?
0
juantamad
Asked:
juantamad
1 Solution
 
juantamadAuthor Commented:
i tried to use shc which is free and load it to my UNIX (HPUX) box. i uncompressed the files and tried to follow the instruction indicated in the readme file but still unable to figure out how to use it. can you give me specific step step procedure that i can follow? can i run it as an ordinary user?
0
 
TintinCommented:
I haven't used it myself, but have you followed instructions in the README?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
juantamadAuthor Commented:
yup, but i want to know if this program is safe since when i tried to execute it it tried to access some of my files. unfortunately i did not run the program as root or else i do not know wht will happen. if there is someone that can show me their procedure, i would appreciate it. thank you.
0
 
juantamadAuthor Commented:
even without compilation, can i make the script unreadable but executable to ordinary users? i tried giving only execute permission to the script and it did not work... my purpose is to secure the source since it contains passwords.
0
 
TintinCommented:
What are the passwords for?  An Application, a login?

There may well be better ways of acheiving what you want.
0
 
juantamadAuthor Commented:
ftp and sqlplus
0
 
TintinCommented:
OK, I think you'll have a lot more luck with kcx.

See http://www.geocities.com/SiliconValley/Horizon/5745/main.html
0
 
mkadwaCommented:
HEY!!!! what about chmod 711
0
 
TintinCommented:
mkadwa.

No point in making a shell script with perms of 711 as this is effectively the same as giving it perms of 700
0
 
juantamadAuthor Commented:
i am not allowed to install third party software in my UNIX box so i tried installing kcx from my windows with cygwin installed. it runs fine but when i tried to transfer the file to my UNIX box it is not running. did i miss somethin there? thanks :P
0
 
liddlerCommented:

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ and refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
0
 
ChmodCommented:
PAQed - no points refunded (of 40)

Chmod
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now