enc.sh 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. #!/bin/bash
  2. #Install SHC
  3. apt-get install build-essential -y
  4. wget -c https://github.com/neurobin/shc/archive/4.0.2.tar.gz
  5. tar xzvf 4.0.2.tar.gz
  6. cd shc-4.0.2/
  7. ./configure
  8. make
  9. make install
  10. #Masuk Direktori
  11. cd /usr/bin
  12. #Encrypt File
  13. shc -f add-host
  14. shc -f add-l2tp
  15. shc -f add-pptp
  16. shc -f add-ss
  17. shc -f add-ssh
  18. shc -f add-ssr
  19. shc -f add-sstp
  20. shc -f add-tr
  21. shc -f add-vless
  22. shc -f add-wg
  23. shc -f add-ws
  24. shc -f autobackup
  25. shc -f autokill
  26. shc -f backup
  27. shc -f cek-pptp
  28. shc -f cek-ss
  29. shc -f cek-ssh
  30. shc -f cek-sstp
  31. shc -f cek-tr
  32. shc -f cek-vless
  33. shc -f cek-wg
  34. shc -f cek-ws
  35. shc -f cert
  36. shc -f change-port
  37. shc -f del-l2tp
  38. shc -f del-pptp
  39. shc -f del-ss
  40. shc -f del-ssh
  41. shc -f del-ssr
  42. shc -f del-sstp
  43. shc -f del-tr
  44. shc -f del-vless
  45. shc -f del-wg
  46. shc -f del-ws
  47. shc -f delete
  48. shc -f info
  49. shc -f izin
  50. shc -f kernel
  51. shc -f list-ssh
  52. shc -f menu-l2tp
  53. shc -f menu-ssh
  54. shc -f menu-system
  55. shc -f menu-tr
  56. shc -f menu-v2ray
  57. shc -f menu-wr
  58. shc -f menu
  59. shc -f mulog
  60. shc -f port-ovpn
  61. shc -f port-squid
  62. shc -f port-ssl
  63. shc -f port-sstp
  64. shc -f port-tr
  65. shc -f port-vless
  66. shc -f port-wg
  67. shc -f port-ws
  68. shc -f reboot
  69. shc -f renew-l2tp
  70. shc -f renew-pptp
  71. shc -f renew-ss
  72. shc -f renew-ssh
  73. shc -f renew-ssr
  74. shc -f renew-sstp
  75. shc -f renew-tr
  76. shc -f renew-vless
  77. shc -f renew-wg
  78. shc -f renew-ws
  79. shc -f restar
  80. shc -f restore
  81. shc -f strt
  82. shc -f swapkvm
  83. shc -f tendang
  84. shc -f trial-ssh
  85. shc -f xp
  86. #Move file
  87. mv add-host.x add-host
  88. mv add-l2tp.x add-l2tp
  89. mv add-pptp.x add-pptp
  90. mv add-ss.x add-ss
  91. mv add-ssh.x add-ssh
  92. mv add-ssr.x add-ssr
  93. mv add-sstp.x add-sstp
  94. mv add-tr.x add-tr
  95. mv add-vless.x add-vless
  96. mv add-wg.x add-wg
  97. mv add-ws.x add-ws
  98. mv autobackup.x autobackup
  99. mv autokill.x autokill
  100. mv backup.x backup
  101. mv cek-pptp.x cek-pptp
  102. mv cek-ss.x cek-ss
  103. mv cek-ssh.x cek-ssh
  104. mv cek-sstp.x cek-sstp
  105. mv cek-tr.x cek-tr
  106. mv cek-vless.x cek-vless
  107. mv cek-wg.x cek-wg
  108. mv cek-ws.x cek-ws
  109. mv cert.x cert
  110. mv change-port.x change-port
  111. mv del-l2tp.x del-l2tp
  112. mv del-pptp.x del-pptp
  113. mv del-ss.x del-ss
  114. mv del-ssh.x del-ssh
  115. mv del-ssr.x del-ssr
  116. mv del-sstp.x del-sstp
  117. mv del-tr.x del-tr
  118. mv del-vless.x del-vless
  119. mv del-wg.x del-wg
  120. mv del-ws.x del-ws
  121. mv delete.x delete
  122. mv info.x info
  123. mv izin.x izin
  124. mv kernel.x kernel
  125. mv list-ssh.x list-ssh
  126. mv menu-l2tp.x menu-l2tp
  127. mv menu-ssh.x menu-ssh
  128. mv menu-system.x menu-system
  129. mv menu-tr.x menu-tr
  130. mv menu-v2ray.x menu-v2ray
  131. mv menu-wr.x menu-wr
  132. mv menu.x menu
  133. mv mulog.x mulog
  134. mv port-ovpn.x port-ovpn
  135. mv port-squid.x port-squid
  136. mv port-ssl.x port-ssl
  137. mv port-sstp.x port-sstp
  138. mv port-tr.x port-tr
  139. mv port-vless.x port-vless
  140. mv port-wg.x port-wg
  141. mv port-ws.x port-ws
  142. mv reboot.x reboot
  143. mv renew-l2tp.x renew-l2tp
  144. mv renew-pptp.x renew-pptp
  145. mv renew-ss.x renew-ss
  146. mv renew-ssh.x renew-ssh
  147. mv renew-ssr.x renew-ssr
  148. mv renew-sstp.x renew-sstp
  149. mv renew-tr.x renew-tr
  150. mv renew-vless.x renew-vless
  151. mv renew-wg.x renew-wg
  152. mv renew-ws.x renew-ws
  153. mv restart.x restart
  154. mv restore.x restore
  155. mv strt.x strt
  156. mv swapkvm.x swapkvm
  157. mv tendang.x tendang
  158. mv trial-ssh.x trial-ssh
  159. mv xp.x xp
  160. #Remove Extension
  161. rm -f *.x.c
  162. clear
  163. echo -e "Encrypt Shell Susuccessful..."
  164. rm -f encrypt
  165. cd
  166. rm -rf shc-4.0.2
  167. rm -rf 4.0.2.tar.gz
  168. rm -rf master.zip