*** Please like this video and subscribe my YouTube channel ***
This video shows you how to encrypt a shell script using SHC(shell script compiler).
Normally you should not encrypt a shell script. If you still insist on encrypting a shell script, you can use SHC utility as shown in this video. Please note that encrypted shell script created by shc is not readable by normal users. However someone who understands how this works can extract the original shell script from the encrypted binary created by shc.
Lets start now:
STEP 1: Download shc and install it
wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz
tar xvfz shc-3.8.7.tgz
cd shc-3.8.7
make
./shc -v
STEP 2: Create a Sample Shell Script, "test.sh"
STEP 3: Encrypt the Shell Script Using shc
./shc -f test.sh
ls -l test.sh*
STEP 4: Execute the Encrypted Shell Script
./test.sh.x
THANKS FOR WATCHING...!!!
Please like this video and subscribe my youtube channel
Download
0 formats
No download links available.
Simply Learn to encrypt your shell script on Linux using SHC | NatokHD