Jelajahi Sumber

Feature: proxy check

wudi 3 tahun lalu
induk
melakukan
a94828fd13
2 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 3 1
      check.sh
  2. 1 0
      test_proxy.sh

+ 3 - 1
check.sh

@@ -1,3 +1,5 @@
 adb shell 'su - ls -l /data/data/com.termux/files/home/proxy.lock'
 adb shell 'ls -l /sdcard/wechat'
-adb shell 'cat /sdcard/wechat/exec.log'
+adb shell 'cat /sdcard/wechat/exec.log'
+echo '---'
+adb shell 'tail /sdcard/wechat/proxy.log'

+ 1 - 0
test_proxy.sh

@@ -0,0 +1 @@
+adb shell "su - /data/data/com.termux/files/usr/bin/curl -x 127.0.0.1:11451 'https://www.baidu.com/'"