Skip to content

Commit 5129dca

Browse files
committed
fix: delete redundant mitm instances
1 parent d2b48bc commit 5129dca

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.circleci/config.yml

+1-19
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ commands:
195195
pip3 install --upgrade pip
196196
pip3 install mitmproxy==10.2.4
197197
198-
# Start mitmdump
199-
mitmdump --set block_global=false &
200-
sleep 10
201198
202199
# Create mitmproxy directory
203200
mkdir -p ~/.mitmproxy
@@ -387,31 +384,16 @@ commands:
387384
adb shell ls -l /data/local/tmp/certs/$HASH.0
388385
389386
# Configure proxy settings
390-
adb shell settings put global http_proxy "localhost:8084"
391387
adb shell settings put global global_http_proxy_host "localhost"
392388
adb shell settings put global global_http_proxy_port 8084
389+
adb shell settings put global http_proxy "localhost:8084"
393390
394391
# Verify proxy settings
395392
echo "Verifying proxy settings..."
396393
adb shell settings get global http_proxy
397394
adb shell settings get global global_http_proxy_host
398395
adb shell settings get global global_http_proxy_port
399396
400-
- run:
401-
name: Start MITM Proxy with Verbose Logging
402-
background: true
403-
command: |
404-
mitmdump -p 8084 --set block_global=false --verbose &
405-
sleep 5
406-
407-
# Verify proxy is running
408-
if ! pgrep -f "mitmdump"; then
409-
echo "Proxy failed to start"
410-
exit 1
411-
fi
412-
413-
# Monitor proxy logs
414-
tail -f ~/.mitmproxy/mitmproxy.log &
415397
setup_ios_simulator:
416398
steps:
417399
- run:

0 commit comments

Comments
 (0)