09-07-2011
Hi,
Thanks for the replies.
Is there any other way to protect test2.sh as well source to the current script ?
Regards,
Pravin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Has anyone ever gotten shc compiler program to work. I am trying to encrypt
a bash script on centos. When I run the command "shc -f test.sh", the binary actually gets created; however, when I try to run the binary I get the following the error:
# ./test.sh.x
./test.sh.x: No such file or... (1 Reply)
Discussion started by: cstovall
1 Replies
2. Programming
I have written a shell script called square, which prints the square of the input number, eg.
> square 4
16
There is a program called shc which compiles the shell scirpt and create a executable file and a c library file, namely square.x and square.x.c repectively.
If I would like to... (1 Reply)
Discussion started by: alfredo
1 Replies
3. Shell Programming and Scripting
Hello there,
I’m compiling a shell script under UNIX AIX 5.3 operating system.
I’m facing a “glitch” when I tried to run the .x file AIX sent the error message “Killed”.
# rpm -qa
libgcc-4.2.0-3
libstdc++-4.2.0-3
gcc-4.2.0-3
libstdc++-devel-4.2.0-3
gcc-c++-4.2.0-3
# make
*** ... (2 Replies)
Discussion started by: micrinho
2 Replies
4. Shell Programming and Scripting
Hi all!
First of all, sorry for my poor english :-S
Well, I have some scripts in a SuSe server to encrypt... but all them must still working when I encrypt it, ok?
About the server, I have root access:
# id
uid=0(root) gid=0(root) groups=0(root)
# uname -a
Linux servername... (4 Replies)
Discussion started by: Magius
4 Replies
5. Shell Programming and Scripting
Hi all,
I'm trying to install shc on my clean solaris 10 so that I could do some encrypting on my shell scripts.
I've tried several ways but it gave me these error messages
# make
cc -Wall -O6 shc.c -o shc
cc: illegal option -Wall
*** Error code 1
make: Fatal error: Command failed... (6 Replies)
Discussion started by: solarisnoob
6 Replies
6. Shell Programming and Scripting
I am using the shc shell compiler, it works fine, just that when i execute it, it displays the code at the terminal. Is there any way to hide this as well? otherwise it beats the purpose of hiding the code.
Thanks ! (7 Replies)
Discussion started by: ysvsr1
7 Replies
7. Shell Programming and Scripting
Hello, I have some shellscripts internal company more by the need to conceal the code to protect passwords and others, we are using the SHC.
the shellscripts always worked without error, including cron.
after the SHC, if I run manually (. / shellscript) it works
if I put the same command... (3 Replies)
Discussion started by: c0i0t3
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I would like to use shc on SUN 5.10 SPARC and HP UX Itanium 11.31 so that I could do some encrypting on my shell scripts.
But on these machines I don"t have cc or gcc.
I find a man who can download shc.c and send me the binary files.
You can download it here :
www datsi fi upm es... (3 Replies)
Discussion started by: peg
3 Replies
9. Red Hat
I have used shc utillity to convert a shell script to it's compiled version.Inside this script i have called another shell script which is also in compled version.
Example:-
Main script:- main.sh.x
child script:- child.sh.x (this is called inside main.sh.x)
This child script will run in... (2 Replies)
Discussion started by: millan
2 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to create an executable using shc. I have a script which is creating 10 executables. The executables being created have the below issue.
The message "Please contact your provider" is displayed even though I am not using the “-e” option.
This message is coming for some... (5 Replies)
Discussion started by: temp_user
5 Replies
LEARN ABOUT SUSE
rendercheck
rendercheck(1) General Commands Manual rendercheck(1)
NAME
rendercheck - simple tests of the X Render extension.
SYNOPSIS
rendercheck [-d|--display display] [-i|--iter] [--sync] [-t|--tests test1,test2,test3,...] [-o|--ops op1,op2,op3,...]
[-v|--verbose] [--minimalrendering]
DESCRIPTION
rendercheck is a set of simple tests of the X Render extension. It is designed for authors of Render implementations in X Servers.
OPTIONS
-d|--display display
Specifies the display to test against.
-i|--iter iterations
Specifies the number of times to repeat each operation before sampling results. Some X Servers may behave differently (hardware vs
software rendering paths) depending on the previous operations done, so this may be used to influence the server's choices.
--sync Enables synchronous xlib operation, for debugging.
-t|--tests test1,test2,test3...
Enables only a specific subset of the possible tests. Test names include fill, dcoords, scoords, mcoords, tscoords, tmcoords,
blend, composite, cacomposite, gradients, repeat, triangles, and bug7366. Names must be separated by commas and have no spaces.
-f|--formats format1,format2,format3...
Enables only a specific subset of the possible formats. Only formats listed in the server-supported format list are available.
Names must be separated by commas and have no spaces.
-o|--ops
Enables only a specific subset of the Render operators.
-v|--verbose
Enables verbose printing of information on tests run, and successes and failures.
--minimalrendering
Disables copying of offscreen destinations to the window, which is on by default to provide the user with visual feedback.
BUGS
Several limitations are documented in the TODO file accompanying the source. Please report any further bugs you find to
http://bugs.freedesktop.org/.
AUTHORS
Eric Anholt, with help from Keith Packard.
rendercheck(1)