03-03-2014
Issue when executing shc command
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 executables being created, i.e. out of 10 executables which are created, say 4-5 executables have this issue. And when the next time I am creating the executables again, again the same issue exists but it may be for some other executable.
Command to create executable:
shc -r -f < executable_name>
Ex:
1) Executable1
2) Executable2
3) Executable3
4) Executable4
5) Executable5
6) Executable6
7) Executable7
8) Executable8
9) Executable9
10) Executable10
When I run the executable I get the message
” Executable1: has expired!
Please contact your provider”
Next time I create the executable, same issue may or not be present for Executable1 but is present for some other executable.
Even if I specify the “-e” clause I still face the same issue.
shc -r -e 10/01/2020 -f <executable_name>
Please suggest how to solver this issue.
Thanks
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
I have two scripts test1.sh and test2.sh. test1.sh is calling test2.sh.
test2.sh is having some functions and password which we are using in test1.sh
test1.sh
#!/bin/sh
. test2.sh
echo "$test"test2.sh
#!/bin/sh
test=pravinO/P
pravin
Now use shc to protect my test2.sh and i modified... (5 Replies)
Discussion started by: pravin27
5 Replies
4. 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
5. Shell Programming and Scripting
Hi,
I'm trying to use the below command in a shell script, but couldn't.
The command is working fine when I'm executing from the dollar prompt i.e. shell.
Command:
grep -i fail /home/applmgr/error.log |egrep -i "`date --date="-4 day" +"%m/%d/%Y"`|`date --date="-4 day" +"%m/%d/%y"`"... (8 Replies)
Discussion started by: venkatesh17
8 Replies
6. Shell Programming and Scripting
Hi All,
I am new to this forum and also shell script :)
My task is I have to read CSV file get the data from the file and use the data to call c executable with data as argument.And the output from c executable should be stored to new CSV file
Please find below my code
testfunction() {... (14 Replies)
Discussion started by: ravjot28
14 Replies
7. Shell Programming and Scripting
hi
i am trying to execute db2 queries through shell script. it's working fine but for few queries is not working ( those queries are taking time so the script is not waiting to get the complete the execution of that query )
could you please any one help me on this
is there any wait... (1 Reply)
Discussion started by: bhaskar v
1 Replies
8. Shell Programming and Scripting
Hi,
I need to ssh remotely to a machine and cat a file assign the value to a variable
Script:
#!/bin/bash -x
value=`cat config.txt`
echo "$value"
ssh me@xxx.host.com "valu='cat /export/home/test.md5'; echo "$valu"" | tee
Execution:
$ ./x
++ cat config.txt
+ value='touch me'
+... (5 Replies)
Discussion started by: close2jay
5 Replies
9. HP-UX
(2 Replies)
Discussion started by: sagar_1986
2 Replies
10. Shell Programming and Scripting
more jdbc.xml
<name>Fast_ds/DataSource</name>
<property>
<name>user</name>
<value>COL_USER</value>
</property>Command 1:
grep -A1 '<name>user</name>' jdbc.xml|grep -v '<name>user</name>'|sed 's/\(<value>\|<\/value>\)//g'| sed -e 's/^*//'Output:
Command 2:
grep... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT FREEBSD
aa-autodep
AA-AUTODEP(8) AppArmor AA-AUTODEP(8)
NAME
aa-autodep - guess basic AppArmor profile requirements
SYNOPSIS
aa-autodep <executable> [<executable> ...]
DESCRIPTION
aa-autodep is used to generate a minimal AppArmor profile for a set of executables. This program will generate a profile for binary
executable as well as interpreted script programs. At a minimum aa-autodep will provide a base profile containing a base include directive
which includes basic profile entries needed by most programs. The profile is generated by recursively calling ldd(1) on the executables
listed on the command line.
BUGS
This program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. If you find any
bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
apparmor(7), apparmor.d(5), aa-complain(1), aa-enforce(1), aa-disable(1), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-AUTODEP(8)