From 34c72869419e9acd9a021bf0b5588d43e0fcdc46 Mon Sep 17 00:00:00 2001 From: 233boy Date: Mon, 21 Jan 2019 22:50:51 +0800 Subject: [PATCH] update domain!!! --- .github/ISSUE_TEMPLATE.md | 2 +- install.sh | 12 +++++++----- src/ss-info.sh | 2 +- src/v2ray-info.sh | 4 ++-- v2ray.sh | 36 ++++++++++++++++++------------------ 5 files changed, 29 insertions(+), 27 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 759bd69..35bae69 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,3 @@ -提问之前,请先查阅:[V2Ray 一键安装脚本疑问集合](https://233now.com/post/10/) +提问之前,请先查阅:[V2Ray 一键安装脚本疑问集合](https://v2ray6.com/post/10/) 若需要发起提问,请删除这些内容 diff --git a/install.sh b/install.sh index 0bd10aa..128c2db 100644 --- a/install.sh +++ b/install.sh @@ -745,18 +745,20 @@ install_v2ray() { echo echo -e "$red 哎呀呀...安装失败了咯...$none" echo - echo -e " 请确保你有完整的上传 233now.com 的 V2Ray 一键安装脚本 & 管理脚本到当前 ${green}$(pwd) $none目录下" + echo -e " 请确保你有完整的上传 v2ray6.com 的 V2Ray 一键安装脚本 & 管理脚本到当前 ${green}$(pwd) $none目录下" echo exit 1 fi mkdir -p /etc/v2ray/233boy/v2ray cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray else + pushd /tmp if [[ $_test ]]; then git clone https://github.com/233boy/v2ray -b test /etc/v2ray/233boy/v2ray else git clone https://github.com/233boy/v2ray /etc/v2ray/233boy/v2ray fi + popd fi @@ -1019,7 +1021,7 @@ uninstall() { echo -e " $red 大胸弟...你貌似毛有安装 V2Ray ....卸载个鸡鸡哦...$none - 备注...仅支持卸载使用我 (233now.com) 提供的 V2Ray 一键安装脚本 + 备注...仅支持卸载使用我 (v2ray6.com) 提供的 V2Ray 一键安装脚本 " && exit 1 fi @@ -1051,11 +1053,11 @@ esac clear while :; do echo - echo "........... V2Ray 一键安装脚本 & 管理脚本 by 233now.com .........." + echo "........... V2Ray 一键安装脚本 & 管理脚本 by v2ray6.com .........." echo - echo "帮助说明: https://233now.com/post/1/" + echo "帮助说明: https://v2ray6.com/post/1/" echo - echo "搭建教程: https://233now.com/post/2/" + echo "搭建教程: https://v2ray6.com/post/2/" echo echo " 1. 安装" echo diff --git a/src/ss-info.sh b/src/ss-info.sh index c28e810..81fb276 100644 --- a/src/ss-info.sh +++ b/src/ss-info.sh @@ -1,6 +1,6 @@ [[ -z $ip ]] && get_ip if [[ $shadowsocks ]]; then - local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233now.com_ss_${ip}" + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray6.com_ss_${ip}" echo echo "---------- Shadowsocks 配置信息 -------------" echo diff --git a/src/v2ray-info.sh b/src/v2ray-info.sh index 938fe77..8254222 100644 --- a/src/v2ray-info.sh +++ b/src/v2ray-info.sh @@ -77,7 +77,7 @@ _v2_info() { if [[ $v2ray_transport == [45] ]]; then if [[ ! $caddy ]]; then echo - echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://233now.com/post/3/$none" + echo -e " $red警告!$none$yellow请自行配置 TLS...教程: https://v2ray6.com/post/3/$none" fi echo echo -e "$yellow 地址 (Address) = $cyan${domain}$none" @@ -129,7 +129,7 @@ _v2_info() { fi echo "---------- END -------------" echo - echo "V2Ray 客户端使用教程: https://233now.com/post/4/" + echo "V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo echo -e "提示: 输入$cyan v2ray url $none可生成 vmess URL 链接 / 输入$cyan v2ray qr $none可生成二维码链接" echo diff --git a/v2ray.sh b/v2ray.sh index 96f9405..50fffa6 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="v3.18-test" +_version="v3.19-test" cmd="apt-get" @@ -110,7 +110,7 @@ create_vmess_URL_config() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233now.com_${domain}", + "ps": "v2ray6.com_${domain}", "add": "${domain}", "port": "443", "id": "${v2ray_id}", @@ -127,7 +127,7 @@ create_vmess_URL_config() { cat >/etc/v2ray/vmess_qr.json <<-EOF { "v": "2", - "ps": "233now.com_${ip}", + "ps": "v2ray6.com_${ip}", "add": "${ip}", "port": "${v2ray_port}", "id": "${v2ray_id}", @@ -193,12 +193,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)#233now.com_ss_${ip}" + local ss="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray6.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}_233now_shadowsocks.png") + local link=$(curl -s --upload-file /tmp/233blog_shadowsocks.png "https://transfer.sh/${random}_v2ray6_shadowsocks.png") if [[ $link ]]; then echo echo "---------- Shadowsocks 二维码链接 -------------" @@ -2159,7 +2159,7 @@ get_v2ray_config() { echo echo -e "${yellow} HTTP 监听端口 = ${cyan}6666$none" echo - echo "V2Ray 客户端使用教程: https://233now.com/post/4/" + echo "V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo break else @@ -2175,7 +2175,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}_233now_v2ray.json") + local link=$(curl -s --upload-file $v2ray_client_config "https://transfer.sh/${random}_v2ray6_v2ray.json") if [[ $link ]]; then echo echo "---------- V2Ray 客户端配置文件链接 -------------" @@ -2186,7 +2186,7 @@ get_v2ray_config_link() { echo echo -e "${yellow} HTTP 监听端口 = ${cyan}6666$none" echo - echo " V2Ray 客户端使用教程: https://233now.com/post/4/" + echo " V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo echo "备注...链接将在 14 天后失效" echo @@ -2208,7 +2208,7 @@ create_v2ray_config_text() { if [[ $v2ray_transport == [45] ]]; then if [[ ! $caddy ]]; then echo - echo " 警告!请自行配置 TLS...教程: https://233now.com/post/3/" + echo " 警告!请自行配置 TLS...教程: https://v2ray6.com/post/3/" fi echo echo "地址 (Address) = ${domain}" @@ -2261,7 +2261,7 @@ create_v2ray_config_text() { fi echo "---------- END -------------" echo - echo "V2Ray 客户端使用教程: https://233now.com/post/4/" + echo "V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo } get_v2ray_config_info_link() { @@ -2270,14 +2270,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}_233now_v2ray.txt") + local link=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random}_v2ray6_v2ray.txt") if [[ $link ]]; then echo echo "---------- V2Ray 配置信息链接-------------" echo echo -e "$yellow 链接 = $cyan$link$none" echo - echo -e " V2Ray 客户端使用教程: https://233now.com/post/4/" + echo -e " V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo echo "备注...链接将在 14 天后失效..." echo @@ -2301,7 +2301,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}_233now_v2ray.png") + local link=$(curl -s --upload-file /tmp/233blog_v2ray.png "https://transfer.sh/${random}_v2ray6_v2ray.png") if [[ $link ]]; then echo echo "---------- V2Ray 二维码链接 -------------" @@ -2312,7 +2312,7 @@ get_v2ray_config_qr_link() { echo -e "$red 友情提醒: 请务必核对扫码结果 (V2RayNG 除外) $none" echo echo - echo " V2Ray 客户端使用教程: https://233now.com/post/4/" + echo " V2Ray 客户端使用教程: https://v2ray6.com/post/4/" echo echo "备注...链接将在 14 天后失效" echo @@ -2705,7 +2705,7 @@ do_service() { } _help() { echo - echo "........... V2Ray 管理脚本帮助信息 by 233now.com .........." + echo "........... V2Ray 管理脚本帮助信息 by v2ray6.com .........." echo -e " ${green}v2ray menu $none管理 V2Ray (同等于直接输入 v2ray) @@ -2746,17 +2746,17 @@ menu() { clear while :; do echo - echo "........... V2Ray 管理脚本 $_version by 233now.com .........." + echo "........... V2Ray 管理脚本 $_version by v2ray6.com .........." echo echo -e "## V2Ray 版本: $cyan$v2ray_ver$none / V2Ray 状态: $v2ray_status ##" echo - echo "帮助说明: https://233now.com/post/1/" + echo "帮助说明: https://v2ray6.com/post/1/" echo echo "反馈问题: https://github.com/233boy/v2ray/issues" echo echo "TG 群组: https://t.me/blog233" echo - echo "捐赠脚本作者: https://233now.com/donate/" + echo "捐赠脚本作者: https://v2ray6.com/donate/" echo echo "捐助 V2Ray: https://www.v2ray.com/chapter_00/02_donate.html" echo