up-menu.sh 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. echo "Start Update"
  15. # update
  16. cd /usr/bin
  17. #wget -O add-host "https://raw.githubusercontent.com/Alamyazid/rev/main/add-host.sh"
  18. #wget -O about "https://raw.githubusercontent.com/Alamyazid/rev/main/about.sh"
  19. #wget -O usernew "https://raw.githubusercontent.com/Alamyazid/rev/main/usernew.sh"
  20. #wget -O trial "https://raw.githubusercontent.com/Alamyazid/rev/main/trial.sh"
  21. #wget -O hapus "https://raw.githubusercontent.com/Alamyazid/rev/main/hapus.sh"
  22. #wget -O member "https://raw.githubusercontent.com/Alamyazid/rev/main/member.sh"
  23. #wget -O delete "https://raw.githubusercontent.com/Alamyazid/rev/main/delete.sh"
  24. #wget -O cek "https://raw.githubusercontent.com/Alamyazid/rev/main/cek.sh"
  25. #wget -O restart "https://raw.githubusercontent.com/Alamyazid/rev/main/restart.sh"
  26. #wget -O speedtest "https://raw.githubusercontent.com/Alamyazid/rev/main/speedtest_cli.py"
  27. #wget -O info "https://raw.githubusercontent.com/Alamyazid/rev/main/info.sh"
  28. #wget -O ram "https://raw.githubusercontent.com/Alamyazid/rev/main/ram.sh"
  29. #wget -O renew "https://raw.githubusercontent.com/Alamyazid/rev/main/renew.sh"
  30. #wget -O autokill "https://raw.githubusercontent.com/Alamyazid/rev/main/autokill.sh"
  31. #wget -O ceklim "https://raw.githubusercontent.com/Alamyazid/rev/main/ceklim.sh"
  32. #wget -O tendang "https://raw.githubusercontent.com/Alamyazid/rev/main/tendang.sh"
  33. #wget -O clear-log "https://raw.githubusercontent.com/Alamyazid/rev/main/clear-log.sh"
  34. #wget -O change-port "https://raw.githubusercontent.com/Alamyazid/rev/main/change.sh"
  35. #wget -O port-ovpn "https://raw.githubusercontent.com/Alamyazid/rev/main/port-ovpn.sh"
  36. #wget -O port-ssl "https://raw.githubusercontent.com/Alamyazid/rev/main/port-ssl.sh"
  37. #wget -O port-wg "https://raw.githubusercontent.com/Alamyazid/rev/main/port-wg.sh"
  38. #wget -O port-tr "https://raw.githubusercontent.com/Alamyazid/rev/main/port-tr.sh"
  39. #wget -O port-sstp "https://raw.githubusercontent.com/Alamyazid/rev/main/port-sstp.sh"
  40. #wget -O port-squid "https://raw.githubusercontent.com/Alamyazid/rev/main/port-squid.sh"
  41. #wget -O port-ws "https://raw.githubusercontent.com/Alamyazid/rev/main/port-ws.sh"
  42. #wget -O port-vless "https://raw.githubusercontent.com/Alamyazid/rev/main/port-vless.sh"
  43. #wget -O wbmn "https://raw.githubusercontent.com/Alamyazid/rev/main/webmin.sh"
  44. #wget -O xp "https://raw.githubusercontent.com/Alamyazid/rev/main/xp.sh"
  45. #wget -O update "https://raw.githubusercontent.com/Alamyazid/rev/main/update.sh"
  46. #wget -O strt "https://raw.githubusercontent.com/Alamyazid/rev/main/strt.sh"
  47. #wget -O swap "https://raw.githubusercontent.com/Alamyazid/rev/main/swapkvm.sh"
  48. #wget -O upgrade-mn "https://raw.githubusercontent.com/Alamyazid/rev/main/upgrade-menu.sh"
  49. chmod +x add-host
  50. chmod +x usernew
  51. chmod +x trial
  52. chmod +x hapus
  53. chmod +x member
  54. chmod +x delete
  55. chmod +x cek
  56. chmod +x restart
  57. chmod +x speedtest
  58. chmod +x info
  59. chmod +x about
  60. chmod +x autokill
  61. chmod +x tendang
  62. chmod +x ceklim
  63. chmod +x ram
  64. chmod +x renew
  65. chmod +x clear-log
  66. chmod +x change-port
  67. chmod +x port-ovpn
  68. chmod +x port-ssl
  69. chmod +x port-wg
  70. chmod +x port-sstp
  71. chmod +x port-tr
  72. chmod +x port-squid
  73. chmod +x port-ws
  74. chmod +x port-vless
  75. chmod +x wbmn
  76. chmod +x xp
  77. chmod +x update
  78. chmod +x strt
  79. chmod +x swap
  80. chmod +x upgrade-mn
  81. #wget -O /usr/bin/ssr https://raw.githubusercontent.com/Alamyazid/rev/main/ssrmu.sh && chmod +x /usr/bin/ssr
  82. #wget -O /usr/bin/add-ssr https://raw.githubusercontent.com/Alamyazid/rev/main/add-ssr.sh && chmod +x /usr/bin/add-ssr
  83. #wget -O /usr/bin/del-ssr https://raw.githubusercontent.com/Alamyazid/rev/main/del-ssr.sh && chmod +x /usr/bin/del-ssr
  84. #wget -O /usr/bin/renew-ssr https://raw.githubusercontent.com/Alamyazid/rev/main/renew-ssr.sh && chmod +x /usr/bin/renew-ssr
  85. #wget -O /usr/bin/add-sstp https://raw.githubusercontent.com/Alamyazid/rev/main/add-sstp.sh && chmod +x /usr/bin/add-sstp
  86. #wget -O /usr/bin/del-sstp https://raw.githubusercontent.com/Alamyazid/rev/main/del-sstp.sh && chmod +x /usr/bin/del-sstp
  87. #wget -O /usr/bin/cek-sstp https://raw.githubusercontent.com/Alamyazid/rev/main/cek-sstp.sh && chmod +x /usr/bin/cek-sstp
  88. #wget -O /usr/bin/renew-sstp https://raw.githubusercontent.com/Alamyazid/rev/main/renew-sstp.sh && chmod +x /usr/bin/renew-sstp
  89. wget -O /usr/bin/l2tp https://raw.githubusercontent.com/Alamyazid/rev/main/update/l2tp.sh && chmod +x /usr/bin/l2tp
  90. wget -O /usr/bin/menu https://raw.githubusercontent.com/Alamyazid/rev/main/update/menu.sh && chmod +x /usr/bin/menu
  91. wget -O /usr/bin/ssh https://raw.githubusercontent.com/Alamyazid/rev/main/update/ssh.sh && chmod +x /usr/bin/ssh
  92. wget -O /usr/bin/ssssr https://raw.githubusercontent.com/Alamyazid/rev/main/update/ssssr.sh && chmod +x /usr/bin/ssssr
  93. wget -O /usr/bin/sstpp https://raw.githubusercontent.com/Alamyazid/rev/main/update/sstpp.sh && chmod +x /usr/bin/sstpp
  94. wget -O /usr/bin/trojaan https://raw.githubusercontent.com/Alamyazid/rev/main/update/trojaan.sh && chmod +x /usr/bin/trojaan
  95. wget -O /usr/bin/v2raay https://raw.githubusercontent.com/Alamyazid/rev/main/update/v2raay.sh && chmod +x /usr/bin/v2raay
  96. wget -O /usr/bin/vleess https://raw.githubusercontent.com/Alamyazid/rev/main/update/vleess.sh && chmod +x /usr/bin/vleess
  97. wget -O /usr/bin/wgr https://raw.githubusercontent.com/Alamyazid/rev/main/update/wgr.sh && chmod +x /usr/bin/wgr
  98. wget -O /usr/bin/bannerku https://raw.githubusercontent.com/Alamyazid/rev/main/update/bannerku && chmod +x /usr/bin/bannerku
  99. #wget -O add-wg "https://raw.githubusercontent.com/Alamyazid/rev/main/add-wg.sh"
  100. #wget -O del-wg "https://raw.githubusercontent.com/Alamyazid/rev/main/del-wg.sh"
  101. #wget -O cek-wg "https://raw.githubusercontent.com/Alamyazid/rev/main/cek-wg.sh"
  102. #wget -O renew-wg "https://raw.githubusercontent.com/Alamyazid/rev/main/renew-wg.sh"
  103. chmod +x add-wg
  104. chmod +x del-wg
  105. chmod +x cek-wg
  106. chmod +x renew-wg
  107. #wget -O add-ss "https://raw.githubusercontent.com/Alamyazid/rev/main/add-ss.sh"
  108. #wget -O del-ss "https://raw.githubusercontent.com/Alamyazid/rev/main/del-ss.sh"
  109. #wget -O cek-ss "https://raw.githubusercontent.com/Alamyazid/rev/main/cek-ss.sh"
  110. #wget -O renew-ss "https://raw.githubusercontent.com/Alamyazid/rev/main/renew-ss.sh"
  111. chmod +x add-ss
  112. chmod +x del-ss
  113. chmod +x cek-ss
  114. chmod +x renew-ss
  115. #wget -O add-ws "https://raw.githubusercontent.com/Alamyazid/rev/main/add-ws.sh"
  116. #wget -O add-vless "https://raw.githubusercontent.com/Alamyazid/rev/main/add-vless.sh"
  117. #wget -O add-tr "https://raw.githubusercontent.com/Alamyazid/rev/main/add-tr.sh"
  118. #wget -O del-ws "https://raw.githubusercontent.com/Alamyazid/rev/main/del-ws.sh"
  119. #wget -O del-vless "https://raw.githubusercontent.com/Alamyazid/rev/main/del-vless.sh"
  120. #wget -O del-tr "https://raw.githubusercontent.com/Alamyazid/rev/main/del-tr.sh"
  121. #wget -O cek-ws "https://raw.githubusercontent.com/Alamyazid/rev/main/cek-ws.sh"
  122. #wget -O cek-vless "https://raw.githubusercontent.com/Alamyazid/rev/main/cek-vless.sh"
  123. #wget -O cek-tr "https://raw.githubusercontent.com/Alamyazid/rev/main/cek-tr.sh"
  124. #wget -O renew-ws "https://raw.githubusercontent.com/Alamyazid/rev/main/renew-ws.sh"
  125. #wget -O renew-vless "https://raw.githubusercontent.com/Alamyazid/rev/main/renew-vless.sh"
  126. #wget -O renew-tr "https://raw.githubusercontent.com/Alamyazid/rev/main/renew-tr.sh"
  127. #wget -O certv2ray "https://raw.githubusercontent.com/Alamyazid/rev/main/cert.sh"
  128. chmod +x add-ws
  129. chmod +x add-vless
  130. chmod +x add-tr
  131. chmod +x del-ws
  132. chmod +x del-vless
  133. chmod +x del-tr
  134. chmod +x cek-ws
  135. chmod +x cek-vless
  136. chmod +x cek-tr
  137. chmod +x renew-ws
  138. chmod +x renew-vless
  139. chmod +x renew-tr
  140. chmod +x certv2ray
  141. #wget -O /usr/bin/add-l2tp https://raw.githubusercontent.com/Alamyazid/rev/main/addl2tp.sh && chmod +x /usr/bin/add-l2tp
  142. #wget -O /usr/bin/del-l2tp https://raw.githubusercontent.com/Alamyazid/rev/main/del-l2tp.sh && chmod +x /usr/bin/del-l2tp
  143. #wget -O /usr/bin/add-pptp https://raw.githubusercontent.com/Alamyazid/rev/main/add-pptp.sh && chmod +x /usr/bin/add-pptp
  144. #wget -O /usr/bin/del-pptp https://raw.githubusercontent.com/Alamyazid/rev/main/del-pptp.sh && chmod +x /usr/bin/del-pptp
  145. #wget -O /usr/bin/renew-pptp https://raw.githubusercontent.com/Alamyazid/rev/main/renew-pptp.sh && chmod +x /usr/bin/renew-pptp
  146. #wget -O /usr/bin/renew-l2tp https://raw.githubusercontent.com/Alamyazid/rev/main/renew-l2tp.sh && chmod +x /usr/bin/renew-l2tp
  147. echo "done"