feat(脚本): 添加reality scanner风险警示

pull/852/head
mack-a 2023-11-13 15:47:47 +08:00
parent c858137310
commit ecb2109cb2
1 changed files with 9 additions and 2 deletions

View File

@ -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 "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus