mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 添加reality scanner风险警示
parent
c858137310
commit
ecb2109cb2
11
install.sh
11
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
|
||||
|
|
Loading…
Reference in New Issue