#!/bin/bash
clear
echo -e "			[32m综合脚本下载 by mxin.moe[0m"
echo -e "[32m======================================================================[0m"
echo -e "0.\033[31m 饥荒开服脚本 \033[0m \033[35m饥荒linux系统服务器开服脚本\033[0m \033[36mdst_server.sh\033[0m"
echo -e "1.\033[31m 域名延时测试 \033[0m \033[35m返回给定域名列表最小延时域名\033[0m \033[36mk_domain.sh\033[0m"
echo -e "2.\033[31m SSR内核更换 \033[0m \033[35m更换SSR加速内核\033[0m \033[36mkernel.sh\033[0m"
echo -e "3.\033[31m KMS激活服务器 \033[0m \033[35mwindows系列的VL版本KMS激活服务端一键搭建\033[0m \033[36mkms-server.sh\033[0m"
echo -e "4.\033[31m L2TP_VPN \033[0m \033[35mL2TP_VPN一键搭建脚本\033[0m \033[36ml2tp.sh\033[0m"
echo -e "5.\033[31m PPTP_VPN \033[0m \033[35mPPTP_VPN一键搭建脚本\033[0m \033[36mpptp.sh\033[0m"
echo -e "6.\033[31m 科学上网 \033[0m \033[35m科学上网搭建脚本\033[0m \033[36mshadowsocks.sh\033[0m"
echo -e "7.\033[31m Speedtest \033[0m \033[35m网速测试\033[0m \033[36mspeedtest-cli.sh\033[0m"
echo -e "8.\033[31m SSR动态IP更新 \033[0m \033[35m更新远程SSR入流量规则，防止被封。\033[0m \033[36mss_updata.sh\033[0m"
echo -e "[32m ======================================================================[0m"
read -p "请输入要使用的脚本编号:" num
case "$num" in
	0)
	wget http://file.mxin.moe/shellsh/dst_server.sh
	chmod +x dst_server.sh
	bash dst_server.sh
	;;
	1)
	wget http://file.mxin.moe/shellsh/k_domain.sh
	chmod +x k_domain.sh
	bash k_domain.sh
	;;
	2)
	wget http://file.mxin.moe/shellsh/kernel.sh
	chmod +x kernel.sh
	bash kernel.sh
	;;
	3)
	wget http://file.mxin.moe/shellsh/kms-server.sh
	chmod +x kms-server.sh
	bash kms-server.sh
	;;
	4)
	wget http://file.mxin.moe/shellsh/l2tp.sh
	chmod +x l2tp.sh
	bash l2tp.sh
	;;
	5)
	wget http://file.mxin.moe/shellsh/pptp.sh
	chmod +x pptp.sh
	bash pptp.sh
	;;
	6)
	wget http://file.mxin.moe/shellsh/shadowsocks.sh
	chmod +x shadowsocks.sh
	bash shadowsocks.sh
	;;
	7)
	wget http://file.mxin.moe/shellsh/speedtest-cli.sh
	chmod +x speedtest-cli.sh
	bash speedtest-cli.sh
	;;
	8)
	wget http://file.mxin.moe/shellsh/ss_updata.sh
	chmod +x ss_updata.sh
	bash ss_updata.sh
	;;
esac
