Files
BFR/tools/check_route.sh
M1rsem 89d0adb27c Release VeilBox v1.11.0: switchable TrustTunnel/olcrtc profiles.
Rename display name to VeilBox, add box.profile + sbfr p switcher, and ship scrubbed sing-box profile templates for quick TT/olcrtc flips.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 20:34:21 +03:00

19 lines
809 B
Bash

#!/system/bin/sh
export PATH="/data/adb/magisk:/data/adb/box/bin:/system/bin:$PATH"
echo "=== yq ==="
ls -la /data/adb/box/bin/yq
/data/adb/box/bin/yq --version 2>&1 | head -2
echo "=== OUTBOUNDS TAGS ==="
/data/adb/box/bin/yq '.outbounds[].tag' /data/adb/box/sing-box/config.json 2>&1
echo "=== ROUTE FINAL ==="
/data/adb/box/bin/yq '.route.final' /data/adb/box/sing-box/config.json 2>&1
echo "=== HAS SIDECAR ==="
/data/adb/box/bin/yq '.outbounds[] | select(.tag == "sidecar-proxy")' /data/adb/box/sing-box/config.json 2>&1
echo "=== WHICH CONFIG ==="
# prepare may use directory
ls /data/adb/box/sing-box/*.json
echo "=== SYSTEM IP AGAIN ==="
curl -m 10 -sS https://1.1.1.1/cdn-cgi/trace | head -5
echo "=== SOCKS IP ==="
curl -x socks5h://127.0.0.1:10800 -m 10 -sS https://1.1.1.1/cdn-cgi/trace | head -5