Quote:
Originally Posted by ksaad
Hi,
I crypt the shell script by:
$./crypt passwd <123.sh> newfile(123.x)
How I can run 123.x encripted file.
I tried:
$ ./.x 123.x response:-->bash: ./.x: No such file or directory
$./123.x response :-->bash: ./123.x: cannot execute binary file
Thanks
|
You can't, obviously...because in order to run it, you have to first DEcrypt it.
You don't say what your goal is, but if you're trying to protect a shell script...you can't, for the simple reason that in order to decrypt it to run, the user would have to
know the password, which would make the act of encrypting it pointless.