menu.sh 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. #!/bin/bash
  2. yl='\e[031;1m'
  3. bl='\e[36;1m'
  4. gl='\e[32;1m'
  5. clear
  6. cat /usr/bin/bannerku | lolcat
  7. echo -e ""
  8. ISP=$(curl -s ipinfo.io/org | cut -d " " -f 2-10 )
  9. CITY=$(curl -s ipinfo.io/city )
  10. WKT=$(curl -s ipinfo.io/timezone )
  11. IPVPS=$(curl -s ipinfo.io/ip )
  12. DOMAIN=$(cat /etc/v2ray/domain)
  13. cname=$( awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo )
  14. cores=$( awk -F: '/model name/ {core++} END {print core}' /proc/cpuinfo )
  15. freq=$( awk -F: ' /cpu MHz/ {freq=$2} END {print freq}' /proc/cpuinfo )
  16. tram=$( free -m | awk 'NR==2 {print $2}' )
  17. swap=$( free -m | awk 'NR==4 {print $2}' )
  18. up=$(uptime|awk '{ $1=$2=$(NF-6)=$(NF-5)=$(NF-4)=$(NF-3)=$(NF-2)=$(NF-1)=$NF=""; print }')
  19. echo -e " \e[032;1mCPU Model:\e[0m $cname"
  20. echo -e " \e[032;1mNumber Of Cores:\e[0m $cores"
  21. echo -e " \e[032;1mCPU Frequency:\e[0m $freq MHz"
  22. echo -e " \e[032;1mTotal Amount Of RAM:\e[0m $tram MB"
  23. echo -e " \e[032;1mSystem Uptime:\e[0m $up"
  24. echo -e " \e[032;1mIsp Name:\e[0m $ISP"
  25. echo -e " \e[032;1mCity:\e[0m $CITY"
  26. echo -e " \e[032;1mTime:\e[0m $WKT"
  27. echo -e " \e[032;1mIPVPS:\e[0m $IPVPS"
  28. echo -e " \e[032;1mDOMAIN:\e[0m $DOMAIN"
  29. echo -e ""
  30. echo -e " -------------------------MENU OPTIONS------------------------" | lolcat
  31. echo -e " 1\e[1;33m)\e[m SSH & OpenVPN Menu"
  32. echo -e " 2\e[1;33m)\e[m Panel Wireguard "
  33. echo -e " 3\e[1;33m)\e[m Panel L2TP & PPTP Account"
  34. echo -e " 4\e[1;33m)\e[m Panel SSTP Account"
  35. echo -e " 5\e[1;33m)\e[m Panel SSR & SS Account"
  36. echo -e " 6\e[1;33m)\e[m Panel V2Ray"
  37. echo -e " 7\e[1;33m)\e[m Panel VLess"
  38. echo -e " 8\e[1;33m)\e[m Panel TRojan"
  39. echo -e " \e[1;32m------------------------------------------------------------\e[m" | lolcat
  40. echo -e " SYSTEM MENU\e[m" | lolcat
  41. echo -e " \e[1;32m------------------------------------------------------------\e[m" | lolcat
  42. echo -e " 9\e[1;33m)\e[m Add Subdomain Host For VPS"
  43. echo -e " 10\e[1;33m)\e[m Renew Certificate V2RAY"
  44. echo -e " 11\e[1;33m)\e[m Change Port All Account"
  45. echo -e " 12\e[1;33m)\e[m Autobackup Data VPS"
  46. echo -e " 13\e[1;33m)\e[m Backup Data VPS"
  47. echo -e " 14\e[1;33m)\e[m Restore Data VPS"
  48. echo -e " 15\e[1;33m)\e[m Webmin Menu"
  49. echo -e " 16\e[1;33m)\e[m Limit Bandwith Speed Server"
  50. echo -e " 17\e[1;33m)\e[m Check Usage of VPS Ram"
  51. echo -e " 18\e[1;33m)\e[m Reboot VPS"
  52. echo -e " 19\e[1;33m)\e[m Speedtest VPS"
  53. echo -e " 20\e[1;33m)\e[m Information Display System"
  54. echo -e " 21\e[1;33m)\e[m Info Script Auto Install"
  55. echo -e " 22\e[1;33m)\e[m Install BBR"
  56. echo -e " 23\e[1;33m)\e[m Add ID Cloudflare"
  57. echo -e " 24\e[1;33m)\e[m Cloudflare Add-Ons"
  58. echo -e " 25\e[1;33m)\e[m Pointing BUG"
  59. echo -e " 26\e[1;33m)\e[m Clear log"
  60. echo -e " 27\e[1;33m)\e[m Auto Reboot"
  61. echo -e " \e[1;32m------------------------------------------------------------\e[m" | lolcat
  62. echo -e " x) Exit" | lolcat
  63. echo -e " \e[1;32m------------------------------------------------------------\e[m" | lolcat
  64. echo -e ""
  65. read -p " Select From Options [1-8 or x] : " menu
  66. echo -e ""
  67. case $menu in
  68. 1)
  69. ssh
  70. ;;
  71. 2)
  72. wgr
  73. ;;
  74. 3)
  75. l2tp
  76. ;;
  77. 4)
  78. sstpp
  79. ;;
  80. 5)
  81. ssssr
  82. ;;
  83. 6)
  84. v2raay
  85. ;;
  86. 7)
  87. vleess
  88. ;;
  89. 8)
  90. trojaan
  91. ;;
  92. 9)
  93. add-host
  94. ;;
  95. 10)
  96. certv2ray
  97. ;;
  98. 11)
  99. change-port
  100. ;;
  101. 12)
  102. autobackup
  103. ;;
  104. 13)
  105. backup
  106. ;;
  107. 14)
  108. restore
  109. ;;
  110. 15)
  111. wbmn
  112. ;;
  113. 16)
  114. limit-speed
  115. ;;
  116. 17)
  117. ram
  118. ;;
  119. 18)
  120. reboot
  121. ;;
  122. 19)
  123. speedtest
  124. ;;
  125. 20)
  126. info
  127. ;;
  128. 21)
  129. about
  130. ;;
  131. 22)
  132. bbr
  133. ;;
  134. 23)
  135. cff
  136. ;;
  137. 24)
  138. cfd
  139. ;;
  140. 25)
  141. cfh
  142. ;;
  143. 26)
  144. clear-log
  145. ;;
  146. 27)
  147. autoreboot
  148. ;;
  149. x)
  150. exit
  151. ;;
  152. *)
  153. echo "Please enter an correct number"
  154. ;;
  155. esac