update.sh 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. #!/bin/bash
  2. if [ "${EUID}" -ne 0 ]; then
  3. echo "You need to run this script as root"
  4. exit 1
  5. fi
  6. if [ "$(systemd-detect-virt)" == "openvz" ]; then
  7. echo "OpenVZ is not supported"
  8. exit 1
  9. fi
  10. red='\e[1;31m'
  11. green='\e[0;32m'
  12. NC='\e[0m'
  13. MYIP=$(wget -qO- ifconfig.me/ip);
  14. clear
  15. echo "Starting Update ..." | lolcat
  16. # update
  17. cd /usr/bin
  18. wget -O menu "https://notabug.org/irwanmohi/premium/raw/main/3/menu.sh"
  19. wget -O l2tp "https://notabug.org/irwanmohi/premium/raw/main/3/l2tp.sh"
  20. wget -O ssh "https://notabug.org/irwanmohi/premium/raw/main/3/ssh.sh"
  21. wget -O ssssr "https://notabug.org/irwanmohi/premium/raw/main/3/ssssr.sh"
  22. wget -O sstpp "https://notabug.org/irwanmohi/premium/raw/main/3/sstpp.sh"
  23. wget -O trojaan "https://notabug.org/irwanmohi/premium/raw/main/3/trojaan.sh"
  24. wget -O trojanGO "https://notabug.org/irwanmohi/premium/raw/main/3/trojanGO.sh"
  25. wget -O v2raay "https://notabug.org/irwanmohi/premium/raw/main/3/v2raay.sh"
  26. wget -O wgr "https://notabug.org/irwanmohi/premium/raw/main/3/wgr.sh"
  27. wget -O vleess "https://notabug.org/irwanmohi/premium/raw/main/3/vleess.sh"
  28. wget -O bbr "https://notabug.org/irwanmohi/premium/raw/main/3/bbr.sh"
  29. wget -O bannerku "https://notabug.org/irwanmohi/premium/raw/main/3/bannerku"
  30. wget -O add-host "https://notabug.org/irwanmohi/premium/raw/main/1/add-host.sh"
  31. wget -O about "https://notabug.org/irwanmohi/premium/raw/main/1/about.sh"
  32. wget -O usernew "https://notabug.org/irwanmohi/premium/raw/main/1/usernew.sh"
  33. wget -O trial "https://notabug.org/irwanmohi/premium/raw/main/1/trial.sh"
  34. wget -O hapus "https://notabug.org/irwanmohi/premium/raw/main/1/hapus.sh"
  35. wget -O member "https://notabug.org/irwanmohi/premium/raw/main/1/member.sh"
  36. wget -O delete "https://notabug.org/irwanmohi/premium/raw/main/1/delete.sh"
  37. wget -O cek "https://notabug.org/irwanmohi/premium/raw/main/1/cek.sh"
  38. wget -O restart "https://notabug.org/irwanmohi/premium/raw/main/1/restart.sh"
  39. wget -O speedtest "https://notabug.org/irwanmohi/premium/raw/main/1/speedtest_cli.py"
  40. wget -O info "https://notabug.org/irwanmohi/premium/raw/main/1/info.sh"
  41. wget -O ram "https://notabug.org/irwanmohi/premium/raw/main/1/ram.sh"
  42. wget -O renew "https://notabug.org/irwanmohi/premium/raw/main/1/renew.sh"
  43. wget -O autokill "https://notabug.org/irwanmohi/premium/raw/main/1/autokill.sh"
  44. wget -O ceklim "https://notabug.org/irwanmohi/premium/raw/main/1/ceklim.sh"
  45. wget -O tendang "https://notabug.org/irwanmohi/premium/raw/main/1/tendang.sh"
  46. wget -O clear-log "https://notabug.org/irwanmohi/premium/raw/main/1/clear-log.sh"
  47. wget -O change-port "https://notabug.org/irwanmohi/premium/raw/main/1/change.sh"
  48. wget -O port-ovpn "https://notabug.org/irwanmohi/premium/raw/main/1/port-ovpn.sh"
  49. wget -O port-ssl "https://notabug.org/irwanmohi/premium/raw/main/1/port-ssl.sh"
  50. wget -O port-wg "https://notabug.org/irwanmohi/premium/raw/main/2/ipvps"
  51. wget -O port-tr "https://notabug.org/irwanmohi/premium/raw/main/1/port-tr.sh"
  52. wget -O port-sstp "https://notabug.org/irwanmohi/premium/raw/main/1/port-sstp.sh"
  53. wget -O port-squid "https://notabug.org/irwanmohi/premium/raw/main/1/port-squid.sh"
  54. wget -O port-ws "https://notabug.org/irwanmohi/premium/raw/main/1/port-ws.sh"
  55. wget -O port-vless "https://notabug.org/irwanmohi/premium/raw/main/1/port-vless.sh"
  56. wget -O wbmn "https://notabug.org/irwanmohi/premium/raw/main/1/webmin.sh"
  57. wget -O xp "https://notabug.org/irwanmohi/premium/raw/main/1/xp.sh"
  58. wget -O swap "https://notabug.org/irwanmohi/premium/raw/main/1/swapkvm.sh"
  59. wget -O user-limit "https://notabug.org/irwanmohi/premium/raw/main/1/user-limit.sh"
  60. wget -O auto-reboot "https://notabug.org/irwanmohi/premium/raw/main/1/auto-reboot.sh"
  61. wget -O running "https://notabug.org/irwanmohi/premium/raw/main/3/running.sh"
  62. wget -O update "https://notabug.org/irwanmohi/premium/raw/main/2/update.sh"
  63. wget -O cfd "https://notabug.org/irwanmohi/premium/raw/main/1/cfd.sh"
  64. wget -O cff "https://notabug.org/irwanmohi/premium/raw/main/1/cff.sh"
  65. wget -O cfh "https://notabug.org/irwanmohi/premium/raw/main/1/cfh.sh"
  66. wget -O add-trgo "https://notabug.org/irwanmohi/premium/raw/main/3/add-trgo.sh"
  67. wget -O xp-trgo "https://notabug.org/irwanmohi/premium/raw/main/3/xp-trgo.sh"
  68. wget -O cek-trgo "https://notabug.org/irwanmohi/premium/raw/main/3/cek-trgo.sh"
  69. wget -O renew-trgo "https://notabug.org/irwanmohi/premium/raw/main/3/renew-trgo.sh"
  70. wget -O port-trgo "https://raw.githubusercontent.com/halluboys/xzvnct/main/update/port-trgo.sh"
  71. wget -O del-trgo "https://raw.githubusercontent.com/halluboys/xzvnct/main/update/del-trgo"
  72. wget -O add-ws "https://notabug.org/irwanmohi/premium/raw/main/1/add-ws.sh"
  73. wget -O add-vless "https://notabug.org/irwanmohi/premium/raw/main/1/add-vless.sh"
  74. wget -O add-tr "https://notabug.org/irwanmohi/premium/raw/main/1/add-tr.sh"
  75. wget -O del-ws "https://notabug.org/irwanmohi/premium/raw/main/1/del-ws.sh"
  76. wget -O del-vless "https://notabug.org/irwanmohi/premium/raw/main/1/del-vless.sh"
  77. wget -O del-tr "https://notabug.org/irwanmohi/premium/raw/main/1/del-tr.sh"
  78. wget -O cek-ws "https://notabug.org/irwanmohi/premium/raw/main/1/cek-ws.sh"
  79. wget -O cek-vless "https://notabug.org/irwanmohi/premium/raw/main/1/cek-vless.sh"
  80. wget -O cek-tr "https://notabug.org/irwanmohi/premium/raw/main/1/cek-tr.sh"
  81. wget -O renew-ws "https://notabug.org/irwanmohi/premium/raw/main/1/renew-ws.sh"
  82. wget -O renew-vless "https://notabug.org/irwanmohi/premium/raw/main/1/renew-vless.sh"
  83. wget -O renew-tr "https://notabug.org/irwanmohi/premium/raw/main/1/renew-tr.sh"
  84. wget -O add-l2tp "https://notabug.org/irwanmohi/premium/raw/main/1/add-l2tp.sh"
  85. wget -O del-l2tp "https://notabug.org/irwanmohi/premium/raw/main/1/del-l2tp.sh"
  86. wget -O add-pptp "https://notabug.org/irwanmohi/premium/raw/main/1/add-pptp.sh"
  87. wget -O del-pptp "https://notabug.org/irwanmohi/premium/raw/main/1/del-pptp.sh"
  88. wget -O cek-pptp "https://notabug.org/irwanmohi/premium/raw/main/1/cek-pptp.sh"
  89. wget -O renew-pptp "https://notabug.org/irwanmohi/premium/raw/main/1/renew-pptp.sh"
  90. wget -O renew-l2tp "https://notabug.org/irwanmohi/premium/raw/main/1/renew-l2tp.sh"
  91. wget -O add-ss "https://notabug.org/irwanmohi/premium/raw/main/1/add-ss.sh"
  92. wget -O del-ss "https://notabug.org/irwanmohi/premium/raw/main/1/del-ss.sh"
  93. wget -O cek-ss "https://notabug.org/irwanmohi/premium/raw/main/1/cek-ss.sh"
  94. wget -O renew-ss "https://notabug.org/irwanmohi/premium/raw/main/1/renew-ss.sh"
  95. wget -O add-ssr "https://notabug.org/irwanmohi/premium/raw/main/1/add-ssr.sh"
  96. wget -O del-ssr "https://notabug.org/irwanmohi/premium/raw/main/1/del-ssr.sh"
  97. wget -O renew-ssr "https://notabug.org/irwanmohi/premium/raw/main/1/renew-ssr.sh"
  98. wget -O add-wg "https://notabug.org/irwanmohi/premium/raw/main/1/add-wg.sh"
  99. wget -O del-wg "https://notabug.org/irwanmohi/premium/raw/main/1/del-wg.sh"
  100. wget -O cek-wg "https://notabug.org/irwanmohi/premium/raw/main/1/cek-wg.sh"
  101. wget -O renew-wg "https://notabug.org/irwanmohi/premium/raw/main/1/renew-wg.sh"
  102. wget -O bw "https://notabug.org/irwanmohi/premium/raw/main/2/bw.sh"
  103. wget -O panel-domain "https://notabug.org/irwanmohi/premium/raw/main/2/panel-domain.sh"
  104. wget -O resett "https://notabug.org/irwanmohi/premium/raw/main/2/resett.sh"
  105. chmod +x menu
  106. chmod +x l2tp
  107. chmod +x ssh
  108. chmod +x ssssr
  109. chmod +x sstpp
  110. chmod +x trojaan
  111. chmod +x trojanGO
  112. chmod +x v2raay
  113. chmod +x wgr
  114. chmod +x vleess
  115. chmod +x bbr
  116. chmod +x bannerku
  117. chmod +x add-host
  118. chmod +x usernew
  119. chmod +x trial
  120. chmod +x hapus
  121. chmod +x member
  122. chmod +x delete
  123. chmod +x cek
  124. chmod +x restart
  125. chmod +x speedtest
  126. chmod +x info
  127. chmod +x about
  128. chmod +x autokill
  129. chmod +x tendang
  130. chmod +x ceklim
  131. chmod +x ram
  132. chmod +x renew
  133. chmod +x clear-log
  134. chmod +x change-port
  135. chmod +x port-ovpn
  136. chmod +x port-ssl
  137. chmod +x port-wg
  138. chmod +x port-sstp
  139. chmod +x port-tr
  140. chmod +x port-squid
  141. chmod +x port-ws
  142. chmod +x port-vless
  143. chmod +x wbmn
  144. chmod +x xp
  145. chmod +x swap
  146. chmod +x auto-reboot
  147. chmod +x running
  148. chmod +x update
  149. chmod +x cfd
  150. chmod +x cff
  151. chmod +x cfh
  152. chmod +x add-trgo
  153. chmod +x xp-trgo
  154. chmod +x cek-trgo
  155. chmod +x renew-trgo
  156. chmod +x port-trgo
  157. chmod +x del-trgo
  158. chmod +x add-ws
  159. chmod +x add-vless
  160. chmod +x add-tr
  161. chmod +x del-ws
  162. chmod +x del-vless
  163. chmod +x del-tr
  164. chmod +x cek-ws
  165. chmod +x cek-vless
  166. chmod +x cek-tr
  167. chmod +x renew-ws
  168. chmod +x renew-vless
  169. chmod +x renew-tr
  170. chmod +x add-l2tp
  171. chmod +x del-l2tp
  172. chmod +x add-pptp
  173. chmod +x del-pptp
  174. chmod +x cek-pptp
  175. chmod +x renew-pptp
  176. chmod +x renew-l2tp
  177. chmod +x add-ss
  178. chmod +x del-ss
  179. chmod +x cek-ss
  180. chmod +x renew-ss
  181. chmod +x add-ssr
  182. chmod +x del-ssr
  183. chmod +x renew-ssr
  184. chmod +x add-wg
  185. chmod +x del-wg
  186. chmod +x cek-wg
  187. chmod +x renew-wg
  188. chmod +x bw
  189. chmod +x panel-domain
  190. chmod +x resett
  191. sed -i -e 's/\r$//' add-l2tp
  192. sed -i -e 's/\r$//' panel-domain
  193. echo " Successfully Update :"
  194. echo " - Fix minor Bugs"
  195. echo " Reboot 5 Sec"
  196. sleep 5
  197. rm -f update.sh
  198. reboot