[转] adb命令设置网络代理

发布时间 2023-12-22 14:17:55作者: 悟透

前言全局说明


一、设置代理方法(无需重启):

adb shell settings put global http_proxy 代理IP地址:端口号

二、移除代理方法(移除代理后要重启手机才能生效。):

adb shell settings delete global http_proxy
adb shell settings delete global global_http_proxy_host
adb shell settings delete global global_http_proxy_port

三、立即生效,无需重启

adb shell settings put global http_proxy :0

四、




免责声明:本号所涉及内容仅供安全研究与教学使用,如出现其他风险,后果自负。




参考、来源:
https://zhuanlan.zhihu.com/p/473752382