How To Encrypt Shell Script.

Lets start ๐Ÿ˜Ž





 1.  First open your Termux. Then follow the command.

pkg install shc


 2. Then Follow ๐Ÿ‘‡this command to Encrypt your script.

shc -f yourscriptname.sh 

 3. It will make Two extra file
     (1) yourscriptname.sh.x
     (2) yourscriptname.sh.x.c

 4. yourscriptname.sh.x  is your encrypted file. You can use it by this command ๐Ÿ‘‡

./yourscriptname.sh.x

 5. You can also rename your file name. By this command๐Ÿ‘‡

 mv yourscriptname.sh.x encryptedfile

 6. Run the script ๐Ÿ‘‡

./encryptedfile

 7. You can see the encrypted script by cat command . After opening the encrypted script you will see some garbage value.



 WATCH TUTORIAL



* HOPE YOU ENJOY *