menu.sh 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. #!/bin/bash
  2. red='\e[1;31m'
  3. green='\e[0;32m'
  4. NC='\e[0m'
  5. MYIP=$(wget -qO- ipinfo.io/ip);
  6. IZIN=$( curl https://raw.githubusercontent.com/alifnurmareta/premium/main/iptext.sh | grep $MYIP )
  7. if [ $MYIP = $IZIN ]; then
  8. clear
  9. echo -e "${green} Please Wait, Proses...${NC}"
  10. sleep 5
  11. else
  12. echo "User premium Only ,Sila Contact Admin Bot😘"
  13. exit 0
  14. fi
  15. clear
  16. echo -e ""
  17. ISP=$(curl -s ipinfo.io/org | cut -d " " -f 2-10 )
  18. CITY=$(curl -s ipinfo.io/city )
  19. WKT=$(curl -s ipinfo.io/timezone )
  20. IPVPS=$(curl -s ipinfo.io/ip )
  21. domain=$(cat /etc/v2ray/domain)
  22. jam=$(date +"%T")
  23. hari=$(date +"%A")
  24. tnggl=$(date +"%d-%B-%Y")
  25. echo -e "* TIME : $jam"
  26. echo -e "* DAY : $hari"
  27. echo -e "* DATE : $tnggl"
  28. echo -e "* SERVER : $ISP"
  29. echo -e "* City : $CITY"
  30. echo -e "* IP VPS : $IPVPS"
  31. echo -e "* DOMAIN : ${domain}"
  32. echo -e ""
  33. echo -e "\e[1;33m═══════════════════════════════════════════════════=═══\e[0m'"
  34. echo -e "\e[1;33m 𝑆𝐶𝑅𝐼𝑃𝑇 𝑉𝑃𝑆 𝐹𝑂𝑅 𝐷𝐸𝐵𝐼𝐴𝑁 𝐴𝑁𝐷 𝑈𝐵𝑈𝑁𝑇𝑈 \e[0m" | lolcat
  35. echo -e ""
  36. echo -e "\e[1;33m __ __ ___ ___ ___ ___ _____ \e[0m" | lolcat
  37. echo -e "\e[1;33m \ \ / /| _ \/ __|| _ ) / _ \|_ _|\e[0m" | lolcat
  38. echo -e "\e[1;33m \ V / | _/\__ \| _ \| (_) | | | \e[0m" | lolcat
  39. echo -e "\e[1;33m \_/ |_| |___/|___/ \___/ |_| \e[0m" | lolcat
  40. echo -e ""
  41. echo -e "\e[1;33m ✵✫ 𝑆𝐼𝑁𝐶𝐸 2021 ✫✵ \e[0m" | lolcat
  42. echo -e "\e[1;33m 𝐴𝑈𝑇𝑂𝑆𝐶𝑅𝐼𝑃𝑇 𝑃𝑅𝐸𝑀𝐼𝑈𝑀 \e[0m" | lolcat
  43. echo -e ""
  44. echo -e "\e[1;33m=============================-Menu-=============================\e[0m" | lolcat
  45. echo -e "\e[1;33m* Senarai Menu yang Disediakan\e[0m" | lolcat
  46. echo -e ""
  47. echo -e "\e[1;33m=========================-Menu Protocol-========================\e[0m" | lolcat
  48. echo -e "\e[1;31m* [1]\e[0m \e[1;32m: SSH & OVPN PANEL\e[0m"
  49. echo -e "\e[1;31m* [2]\e[0m \e[1;32m: WIREGUARD PANEL\e[0m"
  50. echo -e "\e[1;31m* [3]\e[0m \e[1;32m: L2TP PANEL\e[0m"
  51. echo -e "\e[1;31m* [4]\e[0m \e[1;32m: PPTP PANEL\e[0m"
  52. echo -e "\e[1;31m* [5]\e[0m \e[1;32m: SSTP PANEL\e[0m"
  53. echo -e "\e[1;31m* [6]\e[0m \e[1;32m: SSR PANEL\e[0m"
  54. echo -e "\e[1;31m* [7]\e[0m \e[1;32m: SHADOWSOCKS PANEL\e[0m"
  55. echo -e "\e[1;31m* [8]\e[0m \e[1;32m: VMESS PANEL\e[0m"
  56. echo -e "\e[1;31m* [9]\e[0m \e[1;32m: VLESS PANEL\e[0m"
  57. echo -e "\e[1;31m* [10]\e[0m \e[1;32m: XRAY PANEL\e[0m"
  58. echo -e "\e[1;31m* [11]\e[0m \e[1;32m: TROJAN PANEL\e[0m"
  59. echo -e "\e[1;31m* [12]\e[0m \e[1;32m: TROJAN GO PANEL\e[0m"
  60. echo -e ""
  61. echo -e "\e[1;33m=============================-SYSTEM-===========================\e[0m" | lolcat
  62. echo -e "\e[1;31m* [13]\e[0m \e[1;32m: Add Or Change Subdomain Host For VPS\e[0m"
  63. echo -e "\e[1;31m* [14]\e[0m \e[1;32m: Renew Certificate \e[0m"
  64. echo -e "\e[1;31m* [15]\e[0m \e[1;32m: Change Port Of Some Service\e[0m"
  65. echo -e "\e[1;31m* [16]\e[0m \e[1;32m: Autobackup Data VPS\e[0m"
  66. echo -e "\e[1;31m* [17]\e[0m \e[1;32m: Backup Data VPS\e[0m"
  67. echo -e "\e[1;31m* [18]\e[0m \e[1;32m: Restore Data VPS\e[0m"
  68. echo -e "\e[1;31m* [19]\e[0m \e[1;32m: Webmin Menu\e[0m"
  69. echo -e "\e[1;31m* [20]\e[0m \e[1;32m: Update To Latest Kernel\e[0m"
  70. echo -e "\e[1;31m* [21]\e[0m \e[1;32m: Limit Bandwith Speed Server\e[0m"
  71. echo -e "\e[1;31m* [22]\e[0m \e[1;32m: Check Usage of VPS Ram\e[0m"
  72. echo -e "\e[1;31m* [23]\e[0m \e[1;32m: Reboot VPS\e[0m"
  73. echo -e "\e[1;31m* [24]\e[0m \e[1;32m: Speedtest VPS\e[0m"
  74. echo -e "\e[1;31m* [25]\e[0m \e[1;32m: Update To Latest Script Version\e[0m"
  75. echo -e "\e[1;31m* [26]\e[0m \e[1;32m: Displaying System Information\e[0m"
  76. echo -e "\e[1;31m* [27]\e[0m \e[1;32m: Info Script Auto Install\e[0m"
  77. echo -e "\e[1;31m* [28]\e[0m \e[1;32m: Exit From VPS \e[0m"
  78. echo -e "\e[1;31m* [29]\e[0m \e[1;32m: Show System Status \e[0m"
  79. echo -e "\e[1;31m* [30]\e[0m \e[1;32m: Menu Pointing Cloudflare \e[0m"
  80. echo -e "\e[1;31m* [31]\e[0m \e[1;32m: Menu Autoreboot set \e[0m"
  81. echo -e ""
  82. echo -e "\e[1;33m================================================================\e[0m" | lolcat
  83. echo -e ""
  84. read -p " Select From Options [1-31 or x]: " menu
  85. echo -e ""
  86. case $menu in
  87. 1)
  88. menu-ssh
  89. ;;
  90. 2)
  91. menu-wg
  92. ;;
  93. 3)
  94. menu-l2tp
  95. ;;
  96. 4)
  97. menu-pptp
  98. ;;
  99. 5)
  100. menu-sstp
  101. ;;
  102. 6)
  103. menu-ssr
  104. ;;
  105. 7)
  106. menu-ss
  107. ;;
  108. 8)
  109. menu-vmess
  110. ;;
  111. 9)
  112. menu-vless
  113. ;;
  114. 10)
  115. menu-xray
  116. ;;
  117. 11)
  118. menu-trojan
  119. ;;
  120. 12)
  121. menu-trgo
  122. ;;
  123. 13)
  124. add-host
  125. ;;
  126. 14)
  127. certv2ray
  128. ;;
  129. 15)
  130. change-port
  131. ;;
  132. 16)
  133. autobackup
  134. ;;
  135. 17)
  136. backup
  137. ;;
  138. 18)
  139. restore
  140. ;;
  141. 19)
  142. wbmn
  143. ;;
  144. 20)
  145. kernel-updt
  146. ;;
  147. 21)
  148. limit-speed
  149. ;;
  150. 22)
  151. ram
  152. ;;
  153. 23)
  154. reboot
  155. ;;
  156. 24)
  157. speedtest
  158. ;;
  159. 25)
  160. update
  161. ;;
  162. 26)
  163. info
  164. ;;
  165. 27)
  166. about
  167. ;;
  168. 28)
  169. exit
  170. ;;
  171. 29)
  172. running
  173. ;;
  174. 30)
  175. menu-cf
  176. ;;
  177. 31)
  178. autoreboot
  179. ;;
  180. x)
  181. exit
  182. menu
  183. ;;
  184. *)
  185. echo " Tolong masukkan nombor yang betul!!"
  186. ;;
  187. esac