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>
18 lines
995 B
Bash
18 lines
995 B
Bash
#!/system/bin/sh
|
|
export PATH="/data/adb/magisk:/data/adb/box/bin:/system/bin:$PATH"
|
|
echo "=== tt toml ==="
|
|
cat /data/adb/box/sidecar/trusttunnel.toml
|
|
echo
|
|
echo "=== sidecar start cmd / settings ==="
|
|
grep -E 'sidecar|trusttunnel|skip' /data/adb/box/settings.ini
|
|
echo "=== process cmdline ==="
|
|
tr '\0' ' ' < /proc/$(pidof trusttunnel_client)/cmdline; echo
|
|
echo "=== socks5 IP DoH again ==="
|
|
curl -x socks5://127.0.0.1:10800 -m 10 -sS 'https://1.1.1.1/dns-query?name=www.google.com&type=A' -H 'accept: application/dns-json' 2>&1 | head -c 300; echo
|
|
echo "=== socks5h google ==="
|
|
curl -x socks5h://127.0.0.1:10800 -m 10 -sS -o /dev/null -w "%{http_code}\n" https://www.google.com/ 2>&1 | tail -5
|
|
echo "=== test results from prior ==="
|
|
# read end was truncated in previous - quick retest with current final dns
|
|
curl -m 12 -sS -o /dev/null -w "google %{http_code} %{time_total}\n" https://www.google.com/ || true
|
|
curl -m 10 -sS -o /dev/null -w "ya %{http_code} %{time_total}\n" https://ya.ru/ || true
|