Skip to content

Commit c81fece

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

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.circleci/config.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -387,31 +387,16 @@ commands:
387387
adb shell ls -l /data/local/tmp/certs/$HASH.0
388388
389389
# Configure proxy settings
390-
adb shell settings put global http_proxy "localhost:8084"
391390
adb shell settings put global global_http_proxy_host "localhost"
392391
adb shell settings put global global_http_proxy_port 8084
392+
adb shell settings put global http_proxy "localhost:8084"
393393
394394
# Verify proxy settings
395395
echo "Verifying proxy settings..."
396396
adb shell settings get global http_proxy
397397
adb shell settings get global global_http_proxy_host
398398
adb shell settings get global global_http_proxy_port
399399
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 &
415400
setup_ios_simulator:
416401
steps:
417402
- run:

0 commit comments

Comments
 (0)