menu.sh 3.4 KB

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