How To Encrypt Shell Script.
Lets start ๐
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 ๐
5. You can also rename your file name. By this command๐
6. Run the script ๐
7. You can see the encrypted script by cat command . After opening the encrypted script you will see some garbage value.
WATCH TUTORIAL
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 *
