#!/bin/bash # ========================颜色============================== # red(){ echo -e "\033[31m\033[01m$1\033[0m" } green(){ echo -e "\033[32m\033[01m$1\033[0m" } yellow(){ echo -e "\033[33m\033[01m$1\033[0m" } blue(){ echo -e "\033[34m\033[01m$1\033[0m" } # ======================各种脚本============================== # # vps性能测试 #1 Bench(){ wget -qO- bench.sh | bash } #2 ecs(){ curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh } #3 vps_testrace(){ wget https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -O testrace.sh && bash testrace.sh } LemonBench(){ wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast } NodeQuality(){ bash <(curl -sL https://run.NodeQuality.com) } # 流媒体 lmt(){ bash <(curl -L -s check.unlock.media) } lmt2(){ bash <(curl -Ls unlock.moe) } warp(){ wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh } block_ipv6(){ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 && sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 } # 科学 && BBR make-a(){ wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh } xray_233(){ bash <(wget -qO- -o- https://github.com/233boy/Xray/raw/main/install.sh) } reality(){ bash <(curl -L https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh) } hysteria2(){ wget -N --no-check-certificate https://raw.githubusercontent.com/Misaka-blog/hysteria-install/main/hy2/hysteria.sh && bash hysteria.sh } bbr(){ wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh } bbr2(){ wget -N --no-check-certificate "https://raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh } 233sb(){ bash <(wget -qO- -o- https://github.com/233boy/sing-box/raw/main/install.sh) } x_ui(){ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) } # 其他工具 realm(){ wget -N --no-check-certificate https://git.io/realm.sh && chmod +x realm.sh && ./realm.sh } gost(){ wget --no-check-certificate -O gost https://raw.githubusercontent.com/KANIKIG/Multi-EasyGost/master/gost.sh && chmod +x gost && ./gost } docker(){ curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && sudo systemctl start docker } firewall(){ systemctl stop firewalld.service && systemctl disable firewalld.service } update(){ wget -N --no-check-certificate https://raw.githubusercontent.com/wuliao1223/box/main/box && chmod +x box && ./box } # ====================== 面板 =========================== # start_menu(){ clear green "=========================================" blue " 脚本: bash <(curl -s -L bit.ly/233hhh) " blue " 博客: https://blog.233hhh.top " green "======= VPS测速 && 流媒体检测 =========" yellow " 1. bench " yellow " 2. 融合怪测评脚本 " yellow " 3. vps 回程路由 " yellow " 4. 流媒体检测 一 " yellow " 5. 流媒体检测 二 " yellow " 6. Warp " yellow " 7. NodeQuality " yellow " 8. 禁用IPV6 " green "========== 科学 && BBR =========" yellow " 11. BBR " yellow " 12. Make-a 八合一" yellow " 13. Reality " yellow " 14. Hysteria 2 " yellow " 15. 3X_UI " yellow " 16. 233_SingBox" green "========= 其他工具 =========" yellow " 20. Realm 中专 " yellow " 21. Gost 中专 " yellow " 22. 安装 Docker " yellow " 23. 一键关闭 Centos7 防火墙 " red " 66. 更新脚本 " red " 0. 退出脚本 " echo read -p "请输入数字:" num case "$num" in # VPS测速 && 流媒体检测 1) Bench ;; 2) ecs ;; 3) vps_testrace ;; 4) lmt ;; 5) lmt2 ;; 6) warp ;; 7) NodeQuality ;; 8) block_ipv6 ;; # 科学 && BBR # 10) bbr ;; 11) bbr2 ;; 12) make-a ;; 13) reality ;; 14) hysteria2 ;; 15) x_ui ;; 16) 233sb ;; # 其他工具 20) realm ;; 21) gost ;; 22) docker ;; 23) firewall ;; 66) update ;; 0) exit 0 ;; *) clear echo "请输入正确数字" sleep 1s start_menu ;; esac } start_menu