This commit is contained in:
Kiolow 2024-12-14 20:27:01 +08:00
parent 305c40ab16
commit 26d0d36b31
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ ipv4=$(curl -4 -sSL --connect-timeout 3 --retry 2 ip.sb || echo "null")
uuid=$(jq -r '.inbounds[0].settings.clients[0].id' $config_dir/config.json)
port=$(jq -r '.inbounds[0].port' $config_dir/config.json)
dest=$(jq -r '.inbounds[0].streamSettings.realitySettings.dest' $config_dir/config.json)
dest=$(jq -r '.inbounds[0].streamSettings.realitySettings.target' $config_dir/config.json)
sni=$(echo $dest | awk -F ':' '{print $1}')
network="tcp"
public_key=$(cat $config_dir/key.txt | grep "Public" | awk -F ': ' '{print $2}')
@ -37,4 +37,4 @@ if [ "$ipv4" != "null" ]; then
fi
fi
echo -e "\033[0m"
echo -e "\033[0m"

View File

@ -56,7 +56,7 @@
"security": "reality",
"realitySettings": {
"show": true,
"dest": "www.expedia.com:443",
"target": "www.expedia.com:443",
"xver": 0,
"maxTimeDiff": 0,
"minClientVer": "",