diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 35bae69..7365a5b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,3 @@ -提问之前,请先查阅:[V2Ray 一键安装脚本疑问集合](https://v2ray6.com/post/10/) +提问之前,请先查阅:[V2Ray 一键安装脚本疑问集合](https://233v2.com/post/10/) 若需要发起提问,请删除这些内容 diff --git a/config/server/include/socks.json b/config/server/include/socks.json index 070a074..1759310 100644 --- a/config/server/include/socks.json +++ b/config/server/include/socks.json @@ -6,7 +6,7 @@ "auth": "password", "accounts": [ { - "user": "v2ray66.com", + "user": "233v2.com", "pass": "233blog.com" } ], diff --git a/src/client_file.sh b/src/client_file.sh index f323064..6362dc8 100644 --- a/src/client_file.sh +++ b/src/client_file.sh @@ -8,7 +8,7 @@ _get_client_file() { echo echo -e ${cyan}$link${none} echo - echo " V2Ray 客户端使用教程: https://v2ray6.com/post/4/" + echo " V2Ray 客户端使用教程: https://233v2.com/post/4/" echo echo } diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index 2b49b72..098a90c 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -29,6 +29,7 @@ _download_v2ray_file() { unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/" chmod +x /usr/bin/v2ray/v2ray /usr/bin/v2ray/v2ctl setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/v2ray/v2ray + echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc } _install_v2ray_service() { diff --git a/src/qr.sh b/src/qr.sh index 0a3d285..2265cda 100644 --- a/src/qr.sh +++ b/src/qr.sh @@ -16,13 +16,13 @@ _qr_create() { _red "友情提醒: 请务必核对扫码结果 (V2RayNG 除外)" echo echo - echo " V2Ray 客户端使用教程: https://v2ray6.com/post/4/" + echo " V2Ray 客户端使用教程: https://233v2.com/post/4/" echo echo rm -rf /etc/v2ray/vmess_qr.json } _ss_qr() { - local ss_link="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray6.com_ss_${ip}" + local ss_link="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#233v2.com_ss_${ip}" local link="https://233boy.github.io/tools/qr.html#${ss_link}" echo echo "---------- Shadowsocks 二维码链接 -------------" diff --git a/src/socks-config.sh b/src/socks-config.sh index 6a09585..d6cce16 100644 --- a/src/socks-config.sh +++ b/src/socks-config.sh @@ -3,7 +3,7 @@ if [[ $socks ]]; then socks_file="/etc/v2ray/233boy/v2ray/config/server/include/socks.json" socks_file_tmp="/tmp/socks.json.tmp" cp -f $socks_file $socks_file_tmp - sed -i "s/6666/$socks_port/; s/v2ray66.com/$socks_username/; s/233blog.com/$socks_userpass/" $socks_file_tmp + sed -i "s/6666/$socks_port/; s/233v2.com/$socks_username/; s/233blog.com/$socks_userpass/" $socks_file_tmp sed -i "/\/\/include_socks/r $socks_file_tmp" $v2ray_server_config sed -i "s#//include_socks#,#" $v2ray_server_config rm -rf $socks_file_tmp diff --git a/src/uninstall.sh b/src/uninstall.sh index d7f93e3..f1ff4bf 100644 --- a/src/uninstall.sh +++ b/src/uninstall.sh @@ -84,6 +84,7 @@ if [[ $is_uninstall_v2ray && $is_uninstall_caddy ]]; then [ $v2ray_pid ] && systemctl stop v2ray rm -rf /usr/bin/v2ray rm -rf $_v2ray_sh + sed -i '/alias v2ray=/d' /root/.bashrc rm -rf /etc/v2ray rm -rf /var/log/v2ray @@ -137,6 +138,7 @@ elif [[ $is_uninstall_v2ray ]]; then [ $v2ray_pid ] && systemctl stop v2ray rm -rf /usr/bin/v2ray rm -rf $_v2ray_sh + sed -i '/alias v2ray=/d' /root/.bashrc rm -rf /etc/v2ray rm -rf /var/log/v2ray if [[ $systemd ]]; then diff --git a/templates/socks.json b/templates/socks.json index d0d44ee..5258522 100644 --- a/templates/socks.json +++ b/templates/socks.json @@ -5,7 +5,7 @@ "auth": "password", "accounts": [ { - "user": "v2ray66.com", // username + "user": "233v2.com", // username "pass": "233blog.com" // passowrd } ], diff --git a/v2ray.sh b/v2ray.sh index 6ee825e..ea54caa 100755 --- a/v2ray.sh +++ b/v2ray.sh @@ -2530,7 +2530,7 @@ 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}_v2ray6_v2ray.txt") + local link=$(curl -s --upload-file /tmp/233blog_v2ray.txt "https://transfer.sh/${random}_233v2_v2ray.txt") if [[ $link ]]; then echo echo "---------- V2Ray 配置信息链接-------------"