From 7ffafe039c4ddd950143ab432c2e4e0d1455a019 Mon Sep 17 00:00:00 2001 From: 233boy Date: Fri, 7 Sep 2018 12:26:38 +0800 Subject: [PATCH] update domain name --- install.sh | 28 ++++++++++++++-------------- v2ray.sh | 52 ++++++++++++++++++++++++++-------------------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/install.sh b/install.sh index d9b9d1c..5b153d2 100644 --- a/install.sh +++ b/install.sh @@ -884,7 +884,7 @@ install_v2ray() { echo echo -e "$red 哎呀呀...安装失败了咯...$none" echo - echo -e " 请确保你有完整的上传 233blog.com V2Ray 一键安装脚本 & 管理脚本到当前 ${green}$(pwd) $none目录下" + echo -e " 请确保你有完整的上传 v2ray666.com 的 V2Ray 一键安装脚本 & 管理脚本到当前 ${green}$(pwd) $none目录下" echo exit 1 fi @@ -1487,7 +1487,7 @@ show_config_info() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233blog_v2ray_${domain}", + "ps": "v2ray666.com_${domain}", "add": "${domain}", "port": "443", "id": "${uuid}", @@ -1503,7 +1503,7 @@ show_config_info() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233blog_v2ray_${ip}", + "ps": "v2ray666.com_${ip}", "add": "${ip}", "port": "${v2ray_port}", "id": "${uuid}", @@ -1522,10 +1522,10 @@ show_config_info() { echo echo -e " $yellow输入 ${cyan}v2ray${none} $yellow即可管理 V2Ray${none}" echo - echo -e " ${yellow}V2Ray 客户端使用教程: https://233blog.com/post/20/$none" + echo -e " ${yellow}V2Ray 客户端使用教程: https://v2ray666.com/post/4/$none" echo if [[ $v2ray_transport_opt == "4" && ! $caddy ]]; then - echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://233blog.com/post/19/$none" + echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://v2ray666.com/post/3/$none" echo fi echo "---------- V2Ray 配置信息 -------------" @@ -1589,7 +1589,7 @@ show_config_info() { echo fi if [ $shadowsocks ]; then - local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233blog_ss_${ip}" + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray666.com_ss_${ip}" echo echo "---------- Shadowsocks 配置信息 -------------" echo @@ -1661,11 +1661,11 @@ get_qr_link() { local vmess="vmess://$(cat /etc/v2ray/vmess_qr.json | tr -d '\n' | base64 -w 0)" echo $vmess | tr -d '\n' >/etc/v2ray/vmess.txt cat /etc/v2ray/vmess.txt | qrencode -s 50 -o /tmp/233blog_v2ray.png - local link1=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random1}_233blog_v2ray.png") - local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233blog_ss_${ip}" + local link1=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random1}_v2ray666_v2ray.png") + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray666.com_ss_${ip}" echo "${ss}" >/tmp/233blog_shadowsocks.txt cat /tmp/233blog_shadowsocks.txt | qrencode -s 50 -o /tmp/233blog_shadowsocks.png - local link2=$(curl -s --upload-file /tmp/233blog_shadowsocks.png "https://transfer.sh/${random2}_233blog_shadowsocks.png") + local link2=$(curl -s --upload-file /tmp/233blog_shadowsocks.png "https://transfer.sh/${random2}_v2ray666_shadowsocks.png") if [[ $link1 && $link2 ]]; then echo echo "---------- V2Ray 二维码链接 -------------" @@ -1704,7 +1704,7 @@ get_qr_link() { local vmess="vmess://$(cat /etc/v2ray/vmess_qr.json | tr -d '\n' | base64 -w 0)" echo $vmess | tr -d '\n' >/etc/v2ray/vmess.txt cat /etc/v2ray/vmess.txt | qrencode -s 50 -o /tmp/233blog_v2ray.png - local link1=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random1}_233blog_v2ray.png") + local link1=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random1}_v2ray666_v2ray.png") if [[ $link1 ]]; then echo @@ -2115,7 +2115,7 @@ uninstall() { echo -e " $red 大胸弟...你貌似毛有安装 V2Ray ....卸载个鸡鸡哦...$none - 备注...仅支持卸载使用我 (233blog.com) 提供的 V2Ray 一键安装脚本 + 备注...仅支持卸载使用我 (v2ray666.com) 提供的 V2Ray 一键安装脚本 " && exit 1 fi @@ -2147,11 +2147,11 @@ esac clear while :; do echo - echo "........... V2Ray 一键安装脚本 & 管理脚本 by 233blog.com .........." + echo "........... V2Ray 一键安装脚本 & 管理脚本 by v2ray666.com .........." echo - echo "帮助说明: https://233blog.com/post/16/" + echo "帮助说明: https://v2ray666.com/post/1/" echo - echo "搭建教程: https://233blog.com/post/17/" + echo "搭建教程: https://v2ray666.com/post/2/" echo echo " 1. 安装" echo diff --git a/v2ray.sh b/v2ray.sh index 8680e12..329ef3a 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v2.37" +_version="v2.38" cmd="apt-get" @@ -179,7 +179,7 @@ create_vmess_URL_config() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233blog_v2ray_${domain}", + "ps": "v2ray666.com_${domain}", "add": "${domain}", "port": "443", "id": "${v2ray_id}", @@ -196,7 +196,7 @@ create_vmess_URL_config() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233blog_v2ray_${ip}", + "ps": "v2ray666.com_${ip}", "add": "${ip}", "port": "${v2ray_port}", "id": "${v2ray_id}", @@ -220,7 +220,7 @@ view_v2ray_config_info() { if [[ $v2ray_transport == "4" || $v2ray_transport == 16 ]]; then if [[ ! $caddy_installed ]]; then echo - echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://233blog.com/post/19/$none" + echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://v2ray666.com/post/3/$none" fi echo echo -e "$yellow 地址 (Address) = $cyan${domain}$none" @@ -286,7 +286,7 @@ view_v2ray_config_info() { fi echo "---------- END -------------" echo - echo "V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo "V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo } get_shadowsocks_config() { @@ -325,7 +325,7 @@ get_shadowsocks_config() { view_shadowsocks_config_info() { if [[ $shadowsocks ]]; then get_ip - local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233blog_ss_${ip}" + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray666.com_ss_${ip}" echo echo echo "---------- Shadowsocks 配置信息 -------------" @@ -352,12 +352,12 @@ get_shadowsocks_config_qr_link() { echo -e "$green 正在生成链接.... 稍等片刻即可....$none" echo get_ip - local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233blog_ss_${ip}" + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray666.com_ss_${ip}" echo "${ss}" >/tmp/233blog_shadowsocks.txt cat /tmp/233blog_shadowsocks.txt | qrencode -s 50 -o /tmp/233blog_shadowsocks.png local random=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) - local link=$(curl -s --upload-file /tmp/233blog_shadowsocks.png "https://transfer.sh/${random}_233blog_shadowsocks.png") + local link=$(curl -s --upload-file /tmp/233blog_shadowsocks.png "https://transfer.sh/${random}_v2ray666_shadowsocks.png") if [[ $link ]]; then echo echo "---------- Shadowsocks 二维码链接 -------------" @@ -2536,7 +2536,7 @@ get_v2ray_config() { echo echo -e "${yellow} HTTP 监听端口 = ${cyan}6666$none" echo - echo "V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo "V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo break else @@ -2552,7 +2552,7 @@ get_v2ray_config_link() { echo -e "$green 正在生成链接.... 稍等片刻即可....$none" echo local random=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) - local link=$(curl -s --upload-file $v2ray_client_config "https://transfer.sh/${random}_233blog_v2ray.json") + local link=$(curl -s --upload-file $v2ray_client_config "https://transfer.sh/${random}_v2ray666_v2ray.json") if [[ $link ]]; then echo echo "---------- V2Ray 客户端配置文件链接 -------------" @@ -2563,7 +2563,7 @@ get_v2ray_config_link() { echo echo -e "${yellow} HTTP 监听端口 = ${cyan}6666$none" echo - echo " V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo " V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo echo "备注...链接将在 14 天后失效" echo @@ -2585,7 +2585,7 @@ create_v2ray_config_text() { if [[ $v2ray_transport == "4" || $v2ray_transport == 16 ]]; then if [[ ! $caddy_installed ]]; then echo - echo " 警告!请自行配置 TLS...教程: https://233blog.com/post/19/" + echo " 警告!请自行配置 TLS...教程: https://v2ray666.com/post/3/" fi echo echo "地址 (Address) = ${domain}" @@ -2638,7 +2638,7 @@ create_v2ray_config_text() { fi echo "---------- END -------------" echo - echo "V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo "V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo } get_v2ray_config_info_link() { @@ -2648,14 +2648,14 @@ get_v2ray_config_info_link() { echo create_v2ray_config_text >/tmp/233blog_v2ray.txt local random=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) - local link=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random}_233blog_v2ray.txt") + local link=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random}_v2ray666_v2ray.txt") if [[ $link ]]; then echo echo "---------- V2Ray 配置信息链接-------------" echo echo -e "$yellow 链接 = $cyan$link$none" echo - echo -e " V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo -e " V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo echo "备注...链接将在 14 天后失效..." echo @@ -2680,7 +2680,7 @@ get_v2ray_config_qr_link() { echo $vmess | tr -d '\n' >/etc/v2ray/vmess.txt cat /etc/v2ray/vmess.txt | qrencode -s 50 -o /tmp/233blog_v2ray.png local random=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) - local link=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random}_233blog_v2ray.png") + local link=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random}_v2ray666_v2ray.png") if [[ $link ]]; then echo echo "---------- V2Ray 二维码链接 -------------" @@ -2688,7 +2688,7 @@ get_v2ray_config_qr_link() { echo -e "$yellow 适用于 V2RayNG v0.4.1+ / Kitsunebi = $cyan$link$none" echo echo - echo " V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo " V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo echo "备注...链接将在 14 天后失效" echo @@ -3524,7 +3524,7 @@ backup_config() { } _boom_() { echo - echo -e "$green ........... V2Ray 配置链接集合 by 233blog.com ..........$none" + echo -e "$green ........... V2Ray 配置链接集合 by v2ray666.com ..........$none" echo create_v2ray_config_text >/tmp/233blog_v2ray.txt @@ -3538,9 +3538,9 @@ _boom_() { local random1=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) local random2=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) local random3=$(echo $RANDOM-$RANDOM-$RANDOM | base64 -w 0) - local link1=$(curl -s --upload-file $v2ray_client_config "https://transfer.sh/${random1}_233blog_v2ray.json") - local link2=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random2}_233blog_v2ray.txt") - local link3=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random3}_233blog_v2ray.png") + local link1=$(curl -s --upload-file $v2ray_client_config "https://transfer.sh/${random1}_v2ray666_v2ray.json") + local link2=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random2}_v2ray666_v2ray.txt") + local link3=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random3}_v2ray666_v2ray.png") if [[ $link1 ]] && [[ $link2 && $link3 ]]; then echo -e "$yellow 客户端配置文件链接: $cyan$link1$none" @@ -3549,7 +3549,7 @@ _boom_() { echo echo -e "$yellow V2RayNG v0.4.1+ / Kitsunebi 二维码链接: $cyan$link3$none" echo - echo "V2Ray 客户端使用教程: https://233blog.com/post/20/" + echo "V2Ray 客户端使用教程: https://v2ray666.com/post/4/" echo else echo @@ -3587,7 +3587,7 @@ do_service() { } _help() { echo - echo "........... V2Ray 管理脚本帮助信息 by 233blog.com .........." + echo "........... V2Ray 管理脚本帮助信息 by v2ray666.com .........." echo -e " ${green}v2ray menu $none管理 V2Ray (同等于直接输入 v2ray) @@ -3628,17 +3628,17 @@ menu() { clear while :; do echo - echo "........... V2Ray 管理脚本 $_version by 233blog.com .........." + echo "........... V2Ray 管理脚本 $_version by v2ray666.com .........." echo echo -e "## V2Ray 版本: $cyan$v2ray_ver$none / V2Ray 状态: $v2ray_status ##" echo - echo "帮助说明: https://233blog.com/post/16/" + echo "帮助说明: https://v2ray666.com/post/1/" echo echo "反馈问题: https://github.com/233boy/v2ray/issues" echo echo "TG 群组: https://t.me/blog233" echo - echo "捐赠脚本作者: https://233blog.com/donate/" + echo "捐赠脚本作者: https://v2ray666.com/donate/" echo echo "捐助 V2Ray: https://www.v2ray.com/chapter_00/02_donate.html" echo