From ecb2109cb28af133fd59c4d69c34ff347a4e3025 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:47:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0r?= =?UTF-8?q?eality=20scanner=E9=A3=8E=E9=99=A9=E8=AD=A6=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a6d8cf9..5f12cbc 100644 --- a/install.sh +++ b/install.sh @@ -8263,7 +8263,8 @@ realityScanner() { echoContent skyBlue "\n进度 1/1 : 扫描Reality域名" echoContent red "\n==============================================================" echoContent yellow "# 注意事项" - echoContent yellow "扫描完成后,请自行检查扫描网站结果内容是否合规,需个人承担风险\n" + echoContent yellow "扫描完成后,请自行检查扫描网站结果内容是否合规,需个人承担风险" + echoContent red "某些IDC不允许扫描操作,比如搬瓦工,其中风险请自行承担\n" echoContent yellow "1.扫描IPv4" echoContent yellow "2.扫描IPv6" echoContent red "==============================================================" @@ -8275,6 +8276,12 @@ realityScanner() { type=6 fi + read -r -p "某些IDC不允许扫描操作,比如搬瓦工,其中风险请自行承担,是否继续?[y/n]:" scanStatus + + if [[ "${scanStatus}" != "y" ]]; then + exit 0 + fi + publicIP=$(getPublicIP "${type}") echoContent yellow "IP:${publicIP}" if [[ -z "${publicIP}" ]]; then @@ -8468,7 +8475,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.11.13" + echoContent green "当前版本:v2.11.14" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus