Session Persistence
Medium
- Category
- Rogue Agent
- Content
# 启动代理(如未运行) stock_start_proxy() { pgrep -f mihomo_bin > /dev/null && return nohup /tmp/mihomo_bin -f /tmp/mihomo_config.yaml -d /tmp/mihomo_data > /tmp/mihomo.log 2>&1 & sleep 2 curl -s --connect-timeout 5 --proxy ${STOCK_PROXY:-http://127.0.0.1:7890} https://httpbin.org/ip | grep -q origin || echo "PROXY_DOWN" }- Confidence
- 93% confidence
- Finding
- nohup
